Skip to content

Commit a0479a1

Browse files
committed
test: 🚨 rename test methods for consistency in JWTAuthTest class
1 parent 23ebc7a commit a0479a1

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

tests/JWTAuthTest.php

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,7 @@ protected function setUp(): void
3030
$this->jwtAuth = new JWTAuth($authProvider, $jwtProvider, $claimsFactory);
3131
}
3232

33-
/**
34-
* @test
35-
*/
36-
public function can_get_token_with_valid_login_credentials()
33+
public function testCanGetTokenWithValidLoginCredentials()
3734
{
3835
$username = 'andrewdyer';
3936
$password = 'password';
@@ -43,10 +40,7 @@ public function can_get_token_with_valid_login_credentials()
4340
$this->assertIsString($token);
4441
}
4542

46-
/**
47-
* @test
48-
*/
49-
public function cant_get_token_with_incorrect_login_credentials()
43+
public function testCantGetTokenWithIncorrectLoginCredentials()
5044
{
5145
$username = 'andrewdyer';
5246
$password = 'pa55w0rd';

0 commit comments

Comments
 (0)