aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag/ImportBundle/Consumer
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2017-12-16 22:17:42 +0100
committerJeremy Benoist <jeremy.benoist@gmail.com>2017-12-18 13:29:33 +0100
commitbd91bd5c32dcec997e1cc1aff93f585dac093742 (patch)
tree02be54155fe8ffb87d73a225bec6555f86056210 /tests/Wallabag/ImportBundle/Consumer
parent3ccf086391588b1eb0f6d7bcc420ed529f7fdd8f (diff)
downloadwallabag-bd91bd5c32dcec997e1cc1aff93f585dac093742.tar.gz
wallabag-bd91bd5c32dcec997e1cc1aff93f585dac093742.tar.zst
wallabag-bd91bd5c32dcec997e1cc1aff93f585dac093742.zip
Use namespaced PHPUnit classes
Diffstat (limited to 'tests/Wallabag/ImportBundle/Consumer')
-rw-r--r--tests/Wallabag/ImportBundle/Consumer/AMQPEntryConsumerTest.php3
-rw-r--r--tests/Wallabag/ImportBundle/Consumer/RedisEntryConsumerTest.php3
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 @@
3namespace Tests\Wallabag\ImportBundle\Consumer\AMQP; 3namespace Tests\Wallabag\ImportBundle\Consumer\AMQP;
4 4
5use PhpAmqpLib\Message\AMQPMessage; 5use PhpAmqpLib\Message\AMQPMessage;
6use PHPUnit\Framework\TestCase;
6use Wallabag\CoreBundle\Entity\Entry; 7use Wallabag\CoreBundle\Entity\Entry;
7use Wallabag\ImportBundle\Consumer\AMQPEntryConsumer; 8use Wallabag\ImportBundle\Consumer\AMQPEntryConsumer;
8use Wallabag\UserBundle\Entity\User; 9use Wallabag\UserBundle\Entity\User;
9 10
10class AMQPEntryConsumerTest extends \PHPUnit_Framework_TestCase 11class 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
3namespace Tests\Wallabag\ImportBundle\Consumer\AMQP; 3namespace Tests\Wallabag\ImportBundle\Consumer\AMQP;
4 4
5use PHPUnit\Framework\TestCase;
5use Wallabag\CoreBundle\Entity\Entry; 6use Wallabag\CoreBundle\Entity\Entry;
6use Wallabag\ImportBundle\Consumer\RedisEntryConsumer; 7use Wallabag\ImportBundle\Consumer\RedisEntryConsumer;
7use Wallabag\UserBundle\Entity\User; 8use Wallabag\UserBundle\Entity\User;
8 9
9class RedisEntryConsumerTest extends \PHPUnit_Framework_TestCase 10class RedisEntryConsumerTest extends TestCase
10{ 11{
11 public function testMessageOk() 12 public function testMessageOk()
12 { 13 {