pull country

This commit is contained in:
philipp lang 2021-04-10 02:07:07 +02:00
parent c313d222e2
commit ca860b2a9f
4 changed files with 4 additions and 2 deletions

View File

@ -44,6 +44,7 @@ class Member extends Model {
'mitgliedsNummer' => 'mitgliedsnr',
'zeitschriftenversand' => 'send_newspaper',
'regionId' => 'region_id',
'landId' => 'country_id',
];
protected $casts = [];

View File

@ -41,6 +41,7 @@ class PullMemberTest extends TestCase
'updated_at' => ['updated_at', ['2020-06-28 02:15:24', '2015-02-03 15:20:07']],
'send_newspaper' => ['send_newspaper', [true, false]],
'region_id' => ['region_id', [10, 11]],
'country_id' => ['country_id', [100, 101]],
];
}

View File

@ -18,7 +18,7 @@
"sonst01": false,
"sonst02": false,
"spitzname": "spitz1",
"landId": 1,
"landId": 100,
"staatsangehoerigkeitText": "deutsch",
"gruppierungId": 103,
"mglTypeId": "MITGLIED",

View File

@ -18,7 +18,7 @@
"sonst01": false,
"sonst02": false,
"spitzname": "",
"landId": 1,
"landId": 101,
"staatsangehoerigkeitText": "",
"gruppierungId": 103,
"mglTypeId": "MITGLIED",