diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2017-12-18 14:32:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-18 14:32:21 +0100 |
commit | ef5c8a7d01d7b3f0041455503499ab67e2206e0d (patch) | |
tree | 66fad00b695ceb24a5a3ee7ef3185c18050f316f /tests/Wallabag/CoreBundle/Helper/RedirectTest.php | |
parent | 01ea7f585504fba74bd138386ca30ca4d26cfe65 (diff) | |
parent | ad880894a8dc0af97ee145f76ed10ca99e1ebf5a (diff) | |
download | wallabag-ef5c8a7d01d7b3f0041455503499ab67e2206e0d.tar.gz wallabag-ef5c8a7d01d7b3f0041455503499ab67e2206e0d.tar.zst wallabag-ef5c8a7d01d7b3f0041455503499ab67e2206e0d.zip |
Merge pull request #3515 from wallabag/php-7.2
Add PHP 7.2 compatibility
Diffstat (limited to 'tests/Wallabag/CoreBundle/Helper/RedirectTest.php')
-rw-r--r-- | tests/Wallabag/CoreBundle/Helper/RedirectTest.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/Wallabag/CoreBundle/Helper/RedirectTest.php b/tests/Wallabag/CoreBundle/Helper/RedirectTest.php index 7fd2ea2b..04e1a59c 100644 --- a/tests/Wallabag/CoreBundle/Helper/RedirectTest.php +++ b/tests/Wallabag/CoreBundle/Helper/RedirectTest.php | |||
@@ -2,13 +2,14 @@ | |||
2 | 2 | ||
3 | namespace Tests\Wallabag\CoreBundle\Helper; | 3 | namespace Tests\Wallabag\CoreBundle\Helper; |
4 | 4 | ||
5 | use PHPUnit\Framework\TestCase; | ||
5 | use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage; | 6 | use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage; |
6 | use Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken; | 7 | use Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken; |
7 | use Wallabag\CoreBundle\Entity\Config; | 8 | use Wallabag\CoreBundle\Entity\Config; |
8 | use Wallabag\CoreBundle\Helper\Redirect; | 9 | use Wallabag\CoreBundle\Helper\Redirect; |
9 | use Wallabag\UserBundle\Entity\User; | 10 | use Wallabag\UserBundle\Entity\User; |
10 | 11 | ||
11 | class RedirectTest extends \PHPUnit_Framework_TestCase | 12 | class RedirectTest extends TestCase |
12 | { | 13 | { |
13 | /** @var \PHPUnit_Framework_MockObject_MockObject */ | 14 | /** @var \PHPUnit_Framework_MockObject_MockObject */ |
14 | private $routerMock; | 15 | private $routerMock; |