]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - tests/Wallabag/CoreBundle/Command/ExportCommandTest.php
Added test for deduplication
[github/wallabag/wallabag.git] / tests / Wallabag / CoreBundle / Command / ExportCommandTest.php
index 4c66e051c77d56308b427ba67d474f3664620cdb..b21f3318554dc7210892185d6fb35cea611c4baf 100644 (file)
@@ -56,6 +56,7 @@ class ExportCommandTest extends WallabagCoreTestCase
         ]);
 
         $this->assertContains('Exporting 6 entrie(s) for user « admin »... Done', $tester->getDisplay());
+        $this->assertFileExists('admin-export.json');
     }
 
     public function testExportCommandWithSpecialPath()
@@ -69,7 +70,7 @@ class ExportCommandTest extends WallabagCoreTestCase
         $tester->execute([
             'command' => $command->getName(),
             'username' => 'admin',
-            'filepath' => 'specialexport.json'
+            'filepath' => 'specialexport.json',
         ]);
 
         $this->assertFileExists('specialexport.json');