aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Tests/Controller/ConfigControllerTest.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2015-03-02 21:23:19 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2015-03-02 21:23:19 +0100
commitba7b9d48d407f87690a3fdc199b37714d2a52897 (patch)
treea15611f10d09749e82011e0d51532af3de8cfabd /src/Wallabag/CoreBundle/Tests/Controller/ConfigControllerTest.php
parentfca3c757233940cbe4c431e3e05fe74893225fe0 (diff)
parent3e30422cdae3cc45f44c3039c2d38b99121dd9e9 (diff)
downloadwallabag-ba7b9d48d407f87690a3fdc199b37714d2a52897.tar.gz
wallabag-ba7b9d48d407f87690a3fdc199b37714d2a52897.tar.zst
wallabag-ba7b9d48d407f87690a3fdc199b37714d2a52897.zip
Merge pull request #1132 from wallabag/v2-theme
V2 theme
Diffstat (limited to 'src/Wallabag/CoreBundle/Tests/Controller/ConfigControllerTest.php')
-rw-r--r--src/Wallabag/CoreBundle/Tests/Controller/ConfigControllerTest.php8
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}