diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-09-27 17:01:14 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-09-27 20:27:08 +0200 |
commit | c7ea9b41f32f222fef6a59734ea0b1176bfa1f41 (patch) | |
tree | 5a8b1a816ff42582fcc6a5d095bff9eca8e4de8b /src/Wallabag/ImportBundle/Import/ReadabilityImport.php | |
parent | ff1a5362f7254d686864ea53994da6c517b3d3e8 (diff) | |
download | wallabag-c7ea9b41f32f222fef6a59734ea0b1176bfa1f41.tar.gz wallabag-c7ea9b41f32f222fef6a59734ea0b1176bfa1f41.tar.zst wallabag-c7ea9b41f32f222fef6a59734ea0b1176bfa1f41.zip |
Add controller test for Instapaper
Diffstat (limited to 'src/Wallabag/ImportBundle/Import/ReadabilityImport.php')
-rw-r--r-- | src/Wallabag/ImportBundle/Import/ReadabilityImport.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Wallabag/ImportBundle/Import/ReadabilityImport.php b/src/Wallabag/ImportBundle/Import/ReadabilityImport.php index fa2b7053..b8c0f777 100644 --- a/src/Wallabag/ImportBundle/Import/ReadabilityImport.php +++ b/src/Wallabag/ImportBundle/Import/ReadabilityImport.php | |||
@@ -64,6 +64,8 @@ class ReadabilityImport extends AbstractImport | |||
64 | $data = json_decode(file_get_contents($this->filepath), true); | 64 | $data = json_decode(file_get_contents($this->filepath), true); |
65 | 65 | ||
66 | if (empty($data) || empty($data['bookmarks'])) { | 66 | if (empty($data) || empty($data['bookmarks'])) { |
67 | $this->logger->error('ReadabilityImport: no entries in imported file'); | ||
68 | |||
67 | return false; | 69 | return false; |
68 | } | 70 | } |
69 | 71 | ||