aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag/ImportBundle/Consumer/AMQPEntryConsumerTest.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2017-02-20 09:16:02 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2017-02-20 09:16:02 +0100
commitb45b6b6707de9e4518d99c58b0a0bf7d886971b7 (patch)
treebebdebcff2d3d4ae0c82bafd04194f091d09db76 /tests/Wallabag/ImportBundle/Consumer/AMQPEntryConsumerTest.php
parent48be826ea981188c882694ca3e488d0fcaac79d3 (diff)
downloadwallabag-b45b6b6707de9e4518d99c58b0a0bf7d886971b7.tar.gz
wallabag-b45b6b6707de9e4518d99c58b0a0bf7d886971b7.tar.zst
wallabag-b45b6b6707de9e4518d99c58b0a0bf7d886971b7.zip
Import: we now skip messages when user is null
Diffstat (limited to 'tests/Wallabag/ImportBundle/Consumer/AMQPEntryConsumerTest.php')
-rw-r--r--tests/Wallabag/ImportBundle/Consumer/AMQPEntryConsumerTest.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/Wallabag/ImportBundle/Consumer/AMQPEntryConsumerTest.php b/tests/Wallabag/ImportBundle/Consumer/AMQPEntryConsumerTest.php
index 856954a6..a989ec7f 100644
--- a/tests/Wallabag/ImportBundle/Consumer/AMQPEntryConsumerTest.php
+++ b/tests/Wallabag/ImportBundle/Consumer/AMQPEntryConsumerTest.php
@@ -183,7 +183,9 @@ JSON;
183 183
184 $message = new AMQPMessage($body); 184 $message = new AMQPMessage($body);
185 185
186 $consumer->execute($message); 186 $res = $consumer->execute($message);
187
188 $this->assertTrue($res);
187 } 189 }
188 190
189 public function testMessageWithEntryProcessed() 191 public function testMessageWithEntryProcessed()