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

@@ -68,7 +68,7 @@ class UserAccountTest extends TestCase
$this
->actingAs($user)
->patchJson('/api/user/relationships/settings', [
->patchJson('/api/user/settings', [
'name' => 'address',
'value' => 'Jantar',
])->assertStatus(204);
@@ -91,7 +91,7 @@ class UserAccountTest extends TestCase
$this
->actingAs($user)
->patchJson('/api/user/relationships/settings', [
->patchJson('/api/user/settings', [
'avatar' => $avatar,
])->assertStatus(204);