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/ImportBundle/Consumer | |
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/ImportBundle/Consumer')
-rw-r--r-- | tests/Wallabag/ImportBundle/Consumer/AMQPEntryConsumerTest.php | 3 | ||||
-rw-r--r-- | tests/Wallabag/ImportBundle/Consumer/RedisEntryConsumerTest.php | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/tests/Wallabag/ImportBundle/Consumer/AMQPEntryConsumerTest.php b/tests/Wallabag/ImportBundle/Consumer/AMQPEntryConsumerTest.php index 52b98a0b..b2141c04 100644 --- a/tests/Wallabag/ImportBundle/Consumer/AMQPEntryConsumerTest.php +++ b/tests/Wallabag/ImportBundle/Consumer/AMQPEntryConsumerTest.php | |||
@@ -3,11 +3,12 @@ | |||
3 | namespace Tests\Wallabag\ImportBundle\Consumer\AMQP; | 3 | namespace Tests\Wallabag\ImportBundle\Consumer\AMQP; |
4 | 4 | ||
5 | use PhpAmqpLib\Message\AMQPMessage; | 5 | use PhpAmqpLib\Message\AMQPMessage; |
6 | use PHPUnit\Framework\TestCase; | ||
6 | use Wallabag\CoreBundle\Entity\Entry; | 7 | use Wallabag\CoreBundle\Entity\Entry; |
7 | use Wallabag\ImportBundle\Consumer\AMQPEntryConsumer; | 8 | use Wallabag\ImportBundle\Consumer\AMQPEntryConsumer; |
8 | use Wallabag\UserBundle\Entity\User; | 9 | use Wallabag\UserBundle\Entity\User; |
9 | 10 | ||
10 | class AMQPEntryConsumerTest extends \PHPUnit_Framework_TestCase | 11 | class AMQPEntryConsumerTest extends TestCase |
11 | { | 12 | { |
12 | public function testMessageOk() | 13 | public function testMessageOk() |
13 | { | 14 | { |
diff --git a/tests/Wallabag/ImportBundle/Consumer/RedisEntryConsumerTest.php b/tests/Wallabag/ImportBundle/Consumer/RedisEntryConsumerTest.php index 9506ff63..61337e47 100644 --- a/tests/Wallabag/ImportBundle/Consumer/RedisEntryConsumerTest.php +++ b/tests/Wallabag/ImportBundle/Consumer/RedisEntryConsumerTest.php | |||
@@ -2,11 +2,12 @@ | |||
2 | 2 | ||
3 | namespace Tests\Wallabag\ImportBundle\Consumer\AMQP; | 3 | namespace Tests\Wallabag\ImportBundle\Consumer\AMQP; |
4 | 4 | ||
5 | use PHPUnit\Framework\TestCase; | ||
5 | use Wallabag\CoreBundle\Entity\Entry; | 6 | use Wallabag\CoreBundle\Entity\Entry; |
6 | use Wallabag\ImportBundle\Consumer\RedisEntryConsumer; | 7 | use Wallabag\ImportBundle\Consumer\RedisEntryConsumer; |
7 | use Wallabag\UserBundle\Entity\User; | 8 | use Wallabag\UserBundle\Entity\User; |
8 | 9 | ||
9 | class RedisEntryConsumerTest extends \PHPUnit_Framework_TestCase | 10 | class RedisEntryConsumerTest extends TestCase |
10 | { | 11 | { |
11 | public function testMessageOk() | 12 | public function testMessageOk() |
12 | { | 13 | { |