]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - tests/Wallabag/ImportBundle/Consumer/AMQPEntryConsumerTest.php
AMPQ -> AMQP
[github/wallabag/wallabag.git] / tests / Wallabag / ImportBundle / Consumer / AMQPEntryConsumerTest.php
similarity index 96%
rename from tests/Wallabag/ImportBundle/Consumer/AMPQEntryConsumerTest.php
rename to tests/Wallabag/ImportBundle/Consumer/AMQPEntryConsumerTest.php
index b13ade1db00ba2b1fd9e88e36e2d7ce2ddef043d..a3263771c68278869c8b5f42117b53e14ef193ba 100644 (file)
@@ -2,12 +2,12 @@
 
 namespace Tests\Wallabag\ImportBundle\Consumer\AMQP;
 
-use Wallabag\ImportBundle\Consumer\AMPQEntryConsumer;
+use Wallabag\ImportBundle\Consumer\AMQPEntryConsumer;
 use PhpAmqpLib\Message\AMQPMessage;
 use Wallabag\UserBundle\Entity\User;
 use Wallabag\CoreBundle\Entity\Entry;
 
-class AMPQEntryConsumerTest extends \PHPUnit_Framework_TestCase
+class AMQPEntryConsumerTest extends \PHPUnit_Framework_TestCase
 {
     public function testMessageOk()
     {
@@ -112,7 +112,7 @@ JSON;
             ->with(json_decode($body, true))
             ->willReturn($entry);
 
-        $consumer = new AMPQEntryConsumer(
+        $consumer = new AMQPEntryConsumer(
             $em,
             $userRepository,
             $import
@@ -157,7 +157,7 @@ JSON;
             ->disableOriginalConstructor()
             ->getMock();
 
-        $consumer = new AMPQEntryConsumer(
+        $consumer = new AMQPEntryConsumer(
             $em,
             $userRepository,
             $import
@@ -212,7 +212,7 @@ JSON;
             ->with(json_decode($body, true))
             ->willReturn(null);
 
-        $consumer = new AMPQEntryConsumer(
+        $consumer = new AMQPEntryConsumer(
             $em,
             $userRepository,
             $import