Skip to content

Commit 47546bb

Browse files
committed
test: update test method names
1 parent 04d6645 commit 47546bb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/Unit/Authentication/JWT/JWTManagerTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ private function createJWTManager(?Time $clock = null): JWTManager
2121
return new JWTManager($clock);
2222
}
2323

24-
public function testGenerateAccessToken()
24+
public function testGenerateToken()
2525
{
2626
/** @var User $user */
2727
$user = fake(UserModel::class, ['id' => 1, 'username' => 'John Smith'], false);
@@ -46,9 +46,9 @@ public function testGenerateAccessToken()
4646
}
4747

4848
/**
49-
* @depends testGenerateAccessToken
49+
* @depends testGenerateToken
5050
*/
51-
public function testGenerateAccessTokenPayload(array $data): void
51+
public function testGenerateTokenPayload(array $data): void
5252
{
5353
[$token, $currentTime] = $data;
5454

@@ -65,7 +65,7 @@ public function testGenerateAccessTokenPayload(array $data): void
6565
$this->assertSame($expected, (array) $payload);
6666
}
6767

68-
public function testGenerateAccessTokenAddClaims(): void
68+
public function testGenerateTokenAddClaims(): void
6969
{
7070
/** @var User $user */
7171
$user = fake(UserModel::class, ['id' => 1, 'username' => 'John Smith'], false);

0 commit comments

Comments
 (0)