updated-packages
This commit is contained in:
8
vendor/lcobucci/jwt/test/unit/ParserTest.php
vendored
8
vendor/lcobucci/jwt/test/unit/ParserTest.php
vendored
@@ -15,7 +15,7 @@ use RuntimeException;
|
||||
* @author Luís Otávio Cobucci Oblonczyk <lcobucci@gmail.com>
|
||||
* @since 0.1.0
|
||||
*/
|
||||
class ParserTest extends \PHPUnit_Framework_TestCase
|
||||
class ParserTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
/**
|
||||
* @var Decoder|\PHPUnit_Framework_MockObject_MockObject
|
||||
@@ -37,9 +37,9 @@ class ParserTest extends \PHPUnit_Framework_TestCase
|
||||
*/
|
||||
protected function setUp()
|
||||
{
|
||||
$this->decoder = $this->getMock(Decoder::class);
|
||||
$this->claimFactory = $this->getMock(ClaimFactory::class, [], [], '', false);
|
||||
$this->defaultClaim = $this->getMock(Claim::class);
|
||||
$this->decoder = $this->createMock(Decoder::class);
|
||||
$this->claimFactory = $this->createMock(ClaimFactory::class, [], [], '', false);
|
||||
$this->defaultClaim = $this->createMock(Claim::class);
|
||||
|
||||
$this->claimFactory->expects($this->any())
|
||||
->method('create')
|
||||
|
||||
Reference in New Issue
Block a user