Add info to member entry
This commit is contained in:
parent
d1983dcb64
commit
5890d0dbe1
|
@ -17,6 +17,11 @@ class MemberEntry extends Data
|
|||
#[MapInputName('entries_nachname')]
|
||||
#[WithCast(StringCast::class)]
|
||||
public ?string $lastname,
|
||||
|
||||
public int $id,
|
||||
|
||||
#[MapInputName('entries_gruppierungId')]
|
||||
public int $groupId,
|
||||
) {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -49,6 +49,8 @@ class SearchTest extends TestCase
|
|||
$member = $this->login()->findNr(150);
|
||||
|
||||
$this->assertEquals('Philipp', $member->firstname);
|
||||
$this->assertEquals(89418, $member->id);
|
||||
$this->assertEquals(100105, $member->groupId);
|
||||
Http::assertSent(function ($request) {
|
||||
return $request->url() == $this->url(['mitgliedsNummber' => 150])
|
||||
&& 'GET' == $request->method();
|
||||
|
|
Loading…
Reference in New Issue