controller refactoring part 12

This commit is contained in:
Peter Papp
2021-07-20 17:27:18 +02:00
parent b0859f71cd
commit 2333b52d68
10 changed files with 123 additions and 105 deletions

View File

@@ -365,7 +365,7 @@ class AdminTest extends TestCase
$avatar = UploadedFile::fake()
->image('fake-image.jpg');
$this->patchJson('/api/user/relationships/settings', [
$this->patchJson('/api/user/settings', [
'avatar' => $avatar,
])->assertStatus(204);