From bd91bd5c32dcec997e1cc1aff93f585dac093742 Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Sat, 16 Dec 2017 22:17:42 +0100 Subject: Use namespaced PHPUnit classes --- tests/Wallabag/ImportBundle/Consumer/AMQPEntryConsumerTest.php | 3 ++- tests/Wallabag/ImportBundle/Consumer/RedisEntryConsumerTest.php | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'tests/Wallabag/ImportBundle/Consumer') 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 @@ namespace Tests\Wallabag\ImportBundle\Consumer\AMQP; use PhpAmqpLib\Message\AMQPMessage; +use PHPUnit\Framework\TestCase; use Wallabag\CoreBundle\Entity\Entry; use Wallabag\ImportBundle\Consumer\AMQPEntryConsumer; use Wallabag\UserBundle\Entity\User; -class AMQPEntryConsumerTest extends \PHPUnit_Framework_TestCase +class AMQPEntryConsumerTest extends TestCase { public function testMessageOk() { 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 @@ namespace Tests\Wallabag\ImportBundle\Consumer\AMQP; +use PHPUnit\Framework\TestCase; use Wallabag\CoreBundle\Entity\Entry; use Wallabag\ImportBundle\Consumer\RedisEntryConsumer; use Wallabag\UserBundle\Entity\User; -class RedisEntryConsumerTest extends \PHPUnit_Framework_TestCase +class RedisEntryConsumerTest extends TestCase { public function testMessageOk() { -- cgit v1.2.3