-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aea6cc5
commit 1169631
Showing
8 changed files
with
15 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ vendor/ | |
bin/* | ||
.php_cs.cache | ||
.idea/ | ||
.phpunit.result.cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ | |
/** | ||
* @author Guillaume Cavavana <[email protected]> | ||
*/ | ||
class JwtMiddlewareTest extends \PHPUnit_Framework_TestCase | ||
class JwtMiddlewareTest extends \PHPUnit\Framework\TestCase | ||
{ | ||
/** | ||
* testJwtAuthorizationHeader. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ | |
/** | ||
* @author Guillaume Cavavana <[email protected]> | ||
*/ | ||
class JwtManagerTest extends \PHPUnit_Framework_TestCase | ||
class JwtManagerTest extends \PHPUnit\Framework\TestCase | ||
{ | ||
|
||
/** | ||
|
@@ -31,7 +31,7 @@ function (RequestInterface $request) { | |
$request->getHeaderLine('timeout') | ||
); | ||
|
||
$jsonPayload = <<<EOF | ||
$jsonPayload = <<<EOF | ||
{ | ||
"status": "success", | ||
"message": "Login successful", | ||
|
@@ -70,7 +70,7 @@ function (RequestInterface $request) { | |
] | ||
); | ||
|
||
$this->setExpectedException('Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException'); | ||
$this->expectException('Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException'); | ||
|
||
$token = $jwtManager->getJwtToken(); | ||
} | ||
|
@@ -89,7 +89,7 @@ function (RequestInterface $request) { | |
$request->getHeaderLine('timeout') | ||
); | ||
|
||
$jsonPayload = <<<EOF | ||
$jsonPayload = <<<EOF | ||
{ | ||
"status": "success", | ||
"message": "Login successful", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
/** | ||
* @author Guillaume Cavavana <[email protected]> | ||
*/ | ||
class AuthStrategyTest extends \PHPUnit_Framework_TestCase | ||
class AuthStrategyTest extends \PHPUnit\Framework\TestCase | ||
{ | ||
/** | ||
* testFormAuthStrategy. | ||
|