diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-09-14 10:17:22 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-09-14 10:18:02 +0200 |
commit | ac87e0db2ac5db90f1b0639a2d31c7098b4eaa20 (patch) | |
tree | e63c6ea89910657a5f95b083e6a1c730be2ec416 /tests/Wallabag/ImportBundle | |
parent | a622fbc444232a5a9e41c0047067ae5e94605819 (diff) | |
download | wallabag-ac87e0db2ac5db90f1b0639a2d31c7098b4eaa20.tar.gz wallabag-ac87e0db2ac5db90f1b0639a2d31c7098b4eaa20.tar.zst wallabag-ac87e0db2ac5db90f1b0639a2d31c7098b4eaa20.zip |
AMPQ -> AMQP
Diffstat (limited to 'tests/Wallabag/ImportBundle')
-rw-r--r-- | tests/Wallabag/ImportBundle/Consumer/AMQPEntryConsumerTest.php (renamed from tests/Wallabag/ImportBundle/Consumer/AMPQEntryConsumerTest.php) | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/Wallabag/ImportBundle/Consumer/AMPQEntryConsumerTest.php b/tests/Wallabag/ImportBundle/Consumer/AMQPEntryConsumerTest.php index b13ade1d..a3263771 100644 --- a/tests/Wallabag/ImportBundle/Consumer/AMPQEntryConsumerTest.php +++ b/tests/Wallabag/ImportBundle/Consumer/AMQPEntryConsumerTest.php | |||
@@ -2,12 +2,12 @@ | |||
2 | 2 | ||
3 | namespace Tests\Wallabag\ImportBundle\Consumer\AMQP; | 3 | namespace Tests\Wallabag\ImportBundle\Consumer\AMQP; |
4 | 4 | ||
5 | use Wallabag\ImportBundle\Consumer\AMPQEntryConsumer; | 5 | use Wallabag\ImportBundle\Consumer\AMQPEntryConsumer; |
6 | use PhpAmqpLib\Message\AMQPMessage; | 6 | use PhpAmqpLib\Message\AMQPMessage; |
7 | use Wallabag\UserBundle\Entity\User; | 7 | use Wallabag\UserBundle\Entity\User; |
8 | use Wallabag\CoreBundle\Entity\Entry; | 8 | use Wallabag\CoreBundle\Entity\Entry; |
9 | 9 | ||
10 | class AMPQEntryConsumerTest extends \PHPUnit_Framework_TestCase | 10 | class AMQPEntryConsumerTest extends \PHPUnit_Framework_TestCase |
11 | { | 11 | { |
12 | public function testMessageOk() | 12 | public function testMessageOk() |
13 | { | 13 | { |
@@ -112,7 +112,7 @@ JSON; | |||
112 | ->with(json_decode($body, true)) | 112 | ->with(json_decode($body, true)) |
113 | ->willReturn($entry); | 113 | ->willReturn($entry); |
114 | 114 | ||
115 | $consumer = new AMPQEntryConsumer( | 115 | $consumer = new AMQPEntryConsumer( |
116 | $em, | 116 | $em, |
117 | $userRepository, | 117 | $userRepository, |
118 | $import | 118 | $import |
@@ -157,7 +157,7 @@ JSON; | |||
157 | ->disableOriginalConstructor() | 157 | ->disableOriginalConstructor() |
158 | ->getMock(); | 158 | ->getMock(); |
159 | 159 | ||
160 | $consumer = new AMPQEntryConsumer( | 160 | $consumer = new AMQPEntryConsumer( |
161 | $em, | 161 | $em, |
162 | $userRepository, | 162 | $userRepository, |
163 | $import | 163 | $import |
@@ -212,7 +212,7 @@ JSON; | |||
212 | ->with(json_decode($body, true)) | 212 | ->with(json_decode($body, true)) |
213 | ->willReturn(null); | 213 | ->willReturn(null); |
214 | 214 | ||
215 | $consumer = new AMPQEntryConsumer( | 215 | $consumer = new AMQPEntryConsumer( |
216 | $em, | 216 | $em, |
217 | $userRepository, | 217 | $userRepository, |
218 | $import | 218 | $import |