diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-03-04 10:04:51 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-03-04 10:04:51 +0100 |
commit | 79d0e38e7ff975b2e0306d3dd96f57509fd84aef (patch) | |
tree | a359ef1a392865e7d41f3f927594d1480ebe1df8 /src/Wallabag/ImportBundle/Tests/Controller | |
parent | c32ae320fec4135f5b32d57ef88349317a3b1f3f (diff) | |
download | wallabag-79d0e38e7ff975b2e0306d3dd96f57509fd84aef.tar.gz wallabag-79d0e38e7ff975b2e0306d3dd96f57509fd84aef.tar.zst wallabag-79d0e38e7ff975b2e0306d3dd96f57509fd84aef.zip |
Adding test
Reformat json file (thanks pro.jsonlint.com)
Diffstat (limited to 'src/Wallabag/ImportBundle/Tests/Controller')
-rw-r--r-- | src/Wallabag/ImportBundle/Tests/Controller/WallabagV1ControllerTest.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Wallabag/ImportBundle/Tests/Controller/WallabagV1ControllerTest.php b/src/Wallabag/ImportBundle/Tests/Controller/WallabagV1ControllerTest.php index c10d0d18..7f97b0f5 100644 --- a/src/Wallabag/ImportBundle/Tests/Controller/WallabagV1ControllerTest.php +++ b/src/Wallabag/ImportBundle/Tests/Controller/WallabagV1ControllerTest.php | |||
@@ -99,8 +99,7 @@ class WallabagV1ControllerTest extends WallabagCoreTestCase | |||
99 | 99 | ||
100 | $this->assertTrue($content2->isArchived()); | 100 | $this->assertTrue($content2->isArchived()); |
101 | 101 | ||
102 | $this->assertGreaterThan(1, $alert = $crawler->filter('div.messages.success')->extract(array('_text'))); | 102 | $this->assertContains('Import summary', $client->getResponse()->getContent()); |
103 | $this->assertContains('Import summary', $alert[0]); | ||
104 | } | 103 | } |
105 | 104 | ||
106 | public function testImportWallabagWithEmptyFile() | 105 | public function testImportWallabagWithEmptyFile() |