aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2019-02-07 18:01:15 +0100
committerJeremy Benoist <jeremy.benoist@gmail.com>2019-02-07 18:01:15 +0100
commit18460b2d79125d0252e7fe71e1ae84d5ef4f040a (patch)
tree41a6d649a66c8db1dcb3296ddfb4f35405467961 /tests/Wallabag
parent2e5b3fa361098498a9e42a65396a27e1eb487fba (diff)
parent47e47841105a34c852744e207b4a0ea9e879ec49 (diff)
downloadwallabag-18460b2d79125d0252e7fe71e1ae84d5ef4f040a.tar.gz
wallabag-18460b2d79125d0252e7fe71e1ae84d5ef4f040a.tar.zst
wallabag-18460b2d79125d0252e7fe71e1ae84d5ef4f040a.zip
Merge remote-tracking branch 'origin/master' into 2.4
Diffstat (limited to 'tests/Wallabag')
-rw-r--r--tests/Wallabag/ImportBundle/Import/PocketImportTest.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/Wallabag/ImportBundle/Import/PocketImportTest.php b/tests/Wallabag/ImportBundle/Import/PocketImportTest.php
index baa5d905..8083f1a8 100644
--- a/tests/Wallabag/ImportBundle/Import/PocketImportTest.php
+++ b/tests/Wallabag/ImportBundle/Import/PocketImportTest.php
@@ -226,6 +226,13 @@ class PocketImportTest extends TestCase
226 ->method('getRepository') 226 ->method('getRepository')
227 ->willReturn($entryRepo); 227 ->willReturn($entryRepo);
228 228
229 $this->em
230 ->expects($this->any())
231 ->method('persist')
232 ->with($this->callback(function ($persistedEntry) {
233 return $persistedEntry->isArchived() && $persistedEntry->isStarred();
234 }));
235
229 $entry = new Entry($this->user); 236 $entry = new Entry($this->user);
230 237
231 $this->contentProxy 238 $this->contentProxy