aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag
diff options
context:
space:
mode:
authorJérémy Benoist <j0k3r@users.noreply.github.com>2019-01-28 11:34:37 +0100
committerGitHub <noreply@github.com>2019-01-28 11:34:37 +0100
commit755753e3efff7acec5222b44df7a59790dc0a6b6 (patch)
treede865ee5443ce1a9f516b3161d29f2ff6a5f118a /tests/Wallabag
parentb992522d857686f445e1d4c330d22820db0c0c61 (diff)
parent8d082488e9e62914d79c179d376d1a0529183c49 (diff)
downloadwallabag-755753e3efff7acec5222b44df7a59790dc0a6b6.tar.gz
wallabag-755753e3efff7acec5222b44df7a59790dc0a6b6.tar.zst
wallabag-755753e3efff7acec5222b44df7a59790dc0a6b6.zip
Merge pull request #3819 from stan3/pocket-import
Fix read & starred status in Pocket import
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