Add controller test for Instapaper

This commit is contained in:
Jeremy Benoist
2016-09-27 17:01:14 +02:00
committed by Nicolas Lœuillet
parent ff1a5362f7
commit c7ea9b41f3
6 changed files with 221 additions and 0 deletions

View File

@ -80,6 +80,12 @@ class InstapaperImport extends AbstractImport
}
fclose($handle);
if (empty($entries)) {
$this->logger->error('InstapaperImport: no entries in imported file');
return false;
}
if ($this->producer) {
$this->parseEntriesForProducer($entries);