Skip to content

Commit 109f0bb

Browse files
fix test
1 parent ab3f2fa commit 109f0bb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/Containers/AppSection/User/UI/API/Tests/Functional/UpdateUserTest.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,15 @@ public function testUpdateNonExistingUser(): void
6565

6666
public function testUpdateExistingUserWithEmptyValues(): void
6767
{
68+
$user = $this->getTestingUser();
6869
$data = [
6970
'name' => '',
7071
'password' => '',
7172
'gender' => '',
7273
'birth' => '',
7374
];
7475

75-
$response = $this->makeCall($data);
76+
$response = $this->injectId($user->id)->makeCall($data);
7677

7778
$response->assertStatus(422);
7879
$response->assertJson(

0 commit comments

Comments
 (0)