fixed tests
linter / quality (push) Successful in 1m17s
tests / ci (8.4) (push) Failing after 1m33s

This commit is contained in:
2026-04-24 15:17:35 +02:00
parent d26371cb40
commit 6f573c7984
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -172,7 +172,7 @@ class SettingsApiTest extends TestCase
'title' => 'Scoped users ticket',
]);
$this->actingAs($user)
$this->withApplicationKey($user)
->getJson(route('api.projects.backlog', $project))
->assertOk()
->assertJsonPath('data.users.0.name', $user->name)
@@ -180,7 +180,7 @@ class SettingsApiTest extends TestCase
->assertJsonPath('data.users.2.name', 'Visible User')
->assertJsonCount(3, 'data.users');
$this->actingAs($user)
$this->withApplicationKey($user)
->getJson(route('api.projects.tickets.show', [$project, $ticket]))
->assertOk()
->assertJsonPath('data.users.0.name', $user->name)