Lint
This commit is contained in:
parent
bc61530e51
commit
8adf858abc
|
@ -155,14 +155,11 @@ class PutMemberTest extends TestCase
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testGenderCanBeNull(): void
|
public function testUpdateToDefaultGenderIdAndRegionIdIfTheyAreNull(): void
|
||||||
{
|
{
|
||||||
app(MemberFake::class)
|
app(MemberFake::class)
|
||||||
->updatesSuccessfully(103, 16)
|
->updatesSuccessfully(103, 16)
|
||||||
->shows(103, 16, [
|
->shows(103, 16, []);
|
||||||
'foreign' => 'fff',
|
|
||||||
'kontoverbindung' => ['a' => 'b'],
|
|
||||||
]);
|
|
||||||
$response = $this->login()->putMember(Member::toFactory()->inNami(103, 16)->toMember(['genderId' => null, 'regionId' => null]));
|
$response = $this->login()->putMember(Member::toFactory()->inNami(103, 16)->toMember(['genderId' => null, 'regionId' => null]));
|
||||||
|
|
||||||
$this->assertEquals(16, $response);
|
$this->assertEquals(16, $response);
|
||||||
|
|
Loading…
Reference in New Issue