Add member attributes
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
c21aa54e85
commit
b223dbf190
|
@ -36,7 +36,7 @@ class NamiPutMemberAction
|
|||
'workPhone' => $member->work_phone,
|
||||
'fax' => $member->fax,
|
||||
'email' => $member->email,
|
||||
'email_parents' => $member->email_parents,
|
||||
'emailParents' => $member->email_parents,
|
||||
'genderId' => optional($member->gender)->nami_id,
|
||||
'confessionId' => $member->confession ? $member->confession->nami_id : Confession::firstWhere('is_null', true)->nami_id,
|
||||
'regionId' => optional($member->region)->nami_id,
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 5243b7341dc466fe1eccf9f0304caad14138418d
|
||||
Subproject commit 5eef3074d76dba843fa053e04d7637f056c05457
|
|
@ -50,7 +50,7 @@ class NamiPutMemberActionTest extends TestCase
|
|||
->for($gender)
|
||||
->for($group)
|
||||
->emailBillKind()
|
||||
->create();
|
||||
->create(['email_parents' => 'a@b.de']);
|
||||
|
||||
NamiPutMemberAction::run($member, $activity, $subactivity);
|
||||
|
||||
|
@ -58,6 +58,7 @@ class NamiPutMemberActionTest extends TestCase
|
|||
'ersteTaetigkeitId' => 6,
|
||||
'ersteUntergliederungId' => 55,
|
||||
'konfessionId' => 567,
|
||||
'emailVertretungsberechtigter' => 'a@b.de',
|
||||
]);
|
||||
$this->assertDatabaseHas('members', [
|
||||
'nami_id' => 993,
|
||||
|
|
Loading…
Reference in New Issue