Add member attributes

This commit is contained in:
philipp lang 2023-02-06 01:24:20 +01:00
parent 9202aa2b5a
commit 5eef3074d7
2 changed files with 35 additions and 0 deletions

View File

@ -134,6 +134,17 @@ class Member extends Data
'staatsangehoerigkeitId' => $this->nationalityId,
'zeitschriftenversand' => $this->sendNewspaper,
'emailVertretungsberechtigter' => $this->emailParents,
'ort' => $this->location,
'plz' => $this->zip,
'strasse' => $this->address,
'telefax' => $this->fax,
'telefon1' => $this->mainPhone,
'telefon2' => $this->mobilePhone,
'telefon3' => $this->workPhone,
'zeitschriftenversand' => $this->sendNewspaper,
'staatsangehoerigkeitText' => $this->otherCountry,
'nameZusatz' => $this->furtherAddress,
'version' => $this->version,
];
}

View File

@ -28,6 +28,18 @@ class PutMemberTest extends TestCase
'nationalityId' => 12,
'beitragsartId' => null,
'emailParents' => 'a@b.de',
'location' => 'SG',
'zip' => 55555,
'address' => 'Maxstr 5',
'fax' => '+49 111',
'mainPhone' => '+49 222',
'mobilePhone' => '+49 333',
'workPhone' => '+49 3333',
'keepdata' => true,
'sendNewspaper' => true,
'otherCountry' => 'Land',
'furtherAddress' => 'Name',
'version' => 40,
]);
$response = $this->login()->putMember($member, 78, 79);
@ -50,6 +62,18 @@ class PutMemberTest extends TestCase
'ersteTaetigkeitId' => 78,
'ersteUntergliederungId' => 79,
'emailVertretungsberechtigter' => 'a@b.de',
'ort' => 'SG',
'plz' => '55555',
'strasse' => 'Maxstr 5',
'telefax' => '+49 111',
'telefon1' => '+49 222',
'telefon2' => '+49 333',
'telefon3' => '+49 3333',
'wiederverwendenFlag' => true,
'zeitschriftenversand' => true,
'staatsangehoerigkeitText' => 'Land',
'nameZusatz' => 'Name',
'version' => 40,
]);
}