Improved tests

This commit is contained in:
Alex Bilbie committed 2016-04-10 16:14:01 +01:00
1 parent 6359535e32
commit 92a483b3bd
5 files changed
+184 -366

No files matched your search

-2
View File
@@ -133,7 +133,6 @@ class ServerTest extends \PHPUnit_Framework_TestCase
$grant = new AuthCodeGrant(
$authCodeRepository,
$this->getMock(RefreshTokenRepositoryInterface::class),
$this->getMock(UserRepositoryInterface::class),
new \DateInterval('PT10M')
);
@@ -162,7 +161,6 @@ class ServerTest extends \PHPUnit_Framework_TestCase
$grant = new AuthCodeGrant(
$this->getMock(AuthCodeRepositoryInterface::class),
$this->getMock(RefreshTokenRepositoryInterface::class),
$this->getMock(UserRepositoryInterface::class),
new \DateInterval('PT10M')
);
$grant->setClientRepository($clientRepositoryMock);