update test

This commit is contained in:
Pig Fang 2023-01-17 10:09:44 +08:00
parent 5750c1ae94
commit 7d005f7e4a
No known key found for this signature in database
GPG Key ID: A8198F548DADA9E2

View File

@ -19,7 +19,7 @@ class RejectBannedUserTest extends TestCase
{
$user = User::factory()->banned()->create();
$this->actingAs($user)
->post(route('auth.logout'), ['accept' => 'application/json'])
->postJson(route('auth.logout'), ['accept' => 'application/json'])
->assertSuccessful();
}
}