Fixed test @covers annotations
This commit is contained in:
@ -9,7 +9,11 @@ class JWTValidatorTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* @covers
|
||||
* @covers \NoccyLabs\SimpleJWT\Key\JWTPlaintextKey
|
||||
* @covers \NoccyLabs\SimpleJWT\JWTToken
|
||||
* @covers \NoccyLabs\SimpleJWT\Validator\JWTValidator
|
||||
* @covers NoccyLabs\SimpleJWT\Collection\PropertyBag
|
||||
* @covers NoccyLabs\SimpleJWT\JWTUtil
|
||||
*/
|
||||
public function testValidTokensShouldPassWithDefaultConfiguration()
|
||||
{
|
||||
@ -22,7 +26,12 @@ class JWTValidatorTest extends \PHPUnit\Framework\TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers
|
||||
* @covers \NoccyLabs\SimpleJWT\Validator\JWTValidator
|
||||
* @covers \NoccyLabs\SimpleJWT\Key\JWTPlaintextKey
|
||||
* @covers \NoccyLabs\SimpleJWT\JWTToken
|
||||
* @covers \NoccyLabs\SimpleJWT\Validator\JWTTokenException
|
||||
* @covers NoccyLabs\SimpleJWT\Collection\PropertyBag
|
||||
* @covers NoccyLabs\SimpleJWT\JWTUtil
|
||||
*/
|
||||
public function testExpiredTokensShouldFailWithException()
|
||||
{
|
||||
@ -38,7 +47,12 @@ class JWTValidatorTest extends \PHPUnit\Framework\TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers
|
||||
* @covers \NoccyLabs\SimpleJWT\Validator\JWTValidator
|
||||
* @covers \NoccyLabs\SimpleJWT\Key\JWTPlaintextKey
|
||||
* @covers \NoccyLabs\SimpleJWT\JWTToken
|
||||
* @covers \NoccyLabs\SimpleJWT\Validator\JWTTokenException
|
||||
* @covers NoccyLabs\SimpleJWT\Collection\PropertyBag
|
||||
* @covers NoccyLabs\SimpleJWT\JWTUtil
|
||||
* @dataProvider tokenGenerator
|
||||
*/
|
||||
public function testPinningIssuer($issuer,$audience,$key,$token)
|
||||
@ -59,7 +73,12 @@ class JWTValidatorTest extends \PHPUnit\Framework\TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers
|
||||
* @covers \NoccyLabs\SimpleJWT\Validator\JWTValidator
|
||||
* @covers \NoccyLabs\SimpleJWT\Key\JWTPlaintextKey
|
||||
* @covers \NoccyLabs\SimpleJWT\JWTToken
|
||||
* @covers \NoccyLabs\SimpleJWT\Validator\JWTTokenException
|
||||
* @covers NoccyLabs\SimpleJWT\Collection\PropertyBag
|
||||
* @covers NoccyLabs\SimpleJWT\JWTUtil
|
||||
* @dataProvider tokenGenerator
|
||||
*/
|
||||
public function testPinningAudience($issuer,$audience,$key,$token)
|
||||
@ -80,7 +99,12 @@ class JWTValidatorTest extends \PHPUnit\Framework\TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers
|
||||
* @covers \NoccyLabs\SimpleJWT\Validator\JWTValidator
|
||||
* @covers \NoccyLabs\SimpleJWT\Key\JWTPlaintextKey
|
||||
* @covers \NoccyLabs\SimpleJWT\JWTToken
|
||||
* @covers \NoccyLabs\SimpleJWT\Validator\JWTTokenException
|
||||
* @covers NoccyLabs\SimpleJWT\Collection\PropertyBag
|
||||
* @covers NoccyLabs\SimpleJWT\JWTUtil
|
||||
* @dataProvider tokenGenerator
|
||||
*/
|
||||
public function testPinningBoth($issuer,$audience,$key,$token)
|
||||
|
Reference in New Issue
Block a user