mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-24 10:49:00 +02:00
Applied rector suggestions
This commit is contained in:
parent
4106bcef5f
commit
20f32c7f12
170 changed files with 808 additions and 761 deletions
|
@ -30,9 +30,9 @@ class ApiTokenEnpointTest extends AuthenticatedApiTestCase
|
|||
public function testGetCurrentToken(): void
|
||||
{
|
||||
$response = self::createAuthenticatedClient()->request('GET', '/api/tokens/current');
|
||||
self::assertResponseIsSuccessful();
|
||||
$this->assertResponseIsSuccessful();
|
||||
|
||||
self::assertJsonContains([
|
||||
$this->assertJsonContains([
|
||||
'name' => 'admin',
|
||||
'level' => 3,
|
||||
]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue