1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-01 17:38:38 +00:00

AMPQ -> AMQP

This commit is contained in:
Jeremy Benoist 2016-09-14 10:17:22 +02:00
parent a622fbc444
commit ac87e0db2a
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C
4 changed files with 18 additions and 18 deletions

View 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