diff options
Diffstat (limited to 'src/Wallabag/CoreBundle/Tests/Controller/ConfigControllerTest.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Tests/Controller/ConfigControllerTest.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Wallabag/CoreBundle/Tests/Controller/ConfigControllerTest.php b/src/Wallabag/CoreBundle/Tests/Controller/ConfigControllerTest.php index 9b1a0986..d7d341aa 100644 --- a/src/Wallabag/CoreBundle/Tests/Controller/ConfigControllerTest.php +++ b/src/Wallabag/CoreBundle/Tests/Controller/ConfigControllerTest.php | |||
@@ -53,7 +53,7 @@ class ConfigControllerTest extends WallabagTestCase | |||
53 | 53 | ||
54 | $crawler = $client->followRedirect(); | 54 | $crawler = $client->followRedirect(); |
55 | 55 | ||
56 | $this->assertGreaterThan(1, $alert = $crawler->filter('div.flash-notice')->extract(array('_text'))); | 56 | $this->assertGreaterThan(1, $alert = $crawler->filter('div.messages.success')->extract(array('_text'))); |
57 | $this->assertContains('Config saved', $alert[0]); | 57 | $this->assertContains('Config saved', $alert[0]); |
58 | } | 58 | } |
59 | 59 | ||
@@ -178,7 +178,7 @@ class ConfigControllerTest extends WallabagTestCase | |||
178 | 178 | ||
179 | $crawler = $client->followRedirect(); | 179 | $crawler = $client->followRedirect(); |
180 | 180 | ||
181 | $this->assertGreaterThan(1, $alert = $crawler->filter('div.flash-notice')->extract(array('_text'))); | 181 | $this->assertGreaterThan(1, $alert = $crawler->filter('div.messages.success')->extract(array('_text'))); |
182 | $this->assertContains('Password updated', $alert[0]); | 182 | $this->assertContains('Password updated', $alert[0]); |
183 | } | 183 | } |
184 | 184 | ||
@@ -257,7 +257,7 @@ class ConfigControllerTest extends WallabagTestCase | |||
257 | 257 | ||
258 | $crawler = $client->followRedirect(); | 258 | $crawler = $client->followRedirect(); |
259 | 259 | ||
260 | $this->assertGreaterThan(1, $alert = $crawler->filter('div.flash-notice')->extract(array('_text'))); | 260 | $this->assertGreaterThan(1, $alert = $crawler->filter('div.messages.success')->extract(array('_text'))); |
261 | $this->assertContains('Information updated', $alert[0]); | 261 | $this->assertContains('Information updated', $alert[0]); |
262 | } | 262 | } |
263 | 263 | ||
@@ -344,7 +344,7 @@ class ConfigControllerTest extends WallabagTestCase | |||
344 | 344 | ||
345 | $crawler = $client->followRedirect(); | 345 | $crawler = $client->followRedirect(); |
346 | 346 | ||
347 | $this->assertGreaterThan(1, $alert = $crawler->filter('div.flash-notice')->extract(array('_text'))); | 347 | $this->assertGreaterThan(1, $alert = $crawler->filter('div.messages.success')->extract(array('_text'))); |
348 | $this->assertContains('User "wallace" added', $alert[0]); | 348 | $this->assertContains('User "wallace" added', $alert[0]); |
349 | } | 349 | } |
350 | } | 350 | } |