Add gruppierung

This commit is contained in:
Philipp Lang 2023-02-02 16:47:45 +01:00
parent d706fbd502
commit a2e5adfd4c
2 changed files with 5 additions and 0 deletions

View File

@ -63,6 +63,9 @@ class Member extends Data
#[MapInputName('gruppierungId')]
public int $groupId,
#[MapInputName('gruppierung')]
public ?string $groupName,
#[MapInputName('mitgliedsNummer')]
public ?int $memberId,

View File

@ -19,6 +19,7 @@ class FetchMemberTest extends TestCase
'geschlechtId' => 19,
'konfessionId' => 1,
'landId' => 1,
'gruppierung' => 'Gruppe',
'lastUpdated' => '2022-03-20 11:58:33',
'nachname' => 'Lang',
'nameZusatz' => 'zuss',
@ -71,6 +72,7 @@ class FetchMemberTest extends TestCase
$this->assertSame('Philipp', $member->firstname);
$this->assertSame(false, $member->keepdata);
$this->assertSame(true, $member->sendNewspaper);
$this->assertSame('Gruppe', $member->groupName);
}
public function testGetMinimalData(): void