Adding test

Reformat json file (thanks pro.jsonlint.com)
This commit is contained in:
Jeremy Benoist
2016-03-04 10:04:51 +01:00
parent c32ae320fe
commit 79d0e38e7f
10 changed files with 219 additions and 63 deletions

View File

@ -222,7 +222,7 @@ class PocketImport implements ImportInterface
$entry = $this->contentProxy->updateEntry($entry, $url);
// 0, 1, 2 - 1 if the item is archived - 2 if the item should be deleted
if ($pocketEntry['status'] == 1 | $this->markAsRead) {
if ($pocketEntry['status'] == 1 || $this->markAsRead) {
$entry->setArchived(true);
}