class ExportCommandTest extends WallabagCoreTestCase
{
/**
- * @expectedException Symfony\Component\Console\Exception\RuntimeException
+ * @expectedException \Symfony\Component\Console\Exception\RuntimeException
* @expectedExceptionMessage Not enough arguments (missing: "username")
*/
public function testExportCommandWithoutUsername()
'username' => 'admin',
]);
- $this->assertContains('Exporting 6 entrie(s) for user « admin »... Done', $tester->getDisplay());
+ $this->assertContains('Exporting 5 entrie(s) for user « admin »... Done', $tester->getDisplay());
$this->assertFileExists('admin-export.json');
}