We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab3f2fa commit 109f0bbCopy full SHA for 109f0bb
app/Containers/AppSection/User/UI/API/Tests/Functional/UpdateUserTest.php
@@ -65,14 +65,15 @@ public function testUpdateNonExistingUser(): void
65
66
public function testUpdateExistingUserWithEmptyValues(): void
67
{
68
+ $user = $this->getTestingUser();
69
$data = [
70
'name' => '',
71
'password' => '',
72
'gender' => '',
73
'birth' => '',
74
];
75
- $response = $this->makeCall($data);
76
+ $response = $this->injectId($user->id)->makeCall($data);
77
78
$response->assertStatus(422);
79
$response->assertJson(
0 commit comments