diff options
author | Jeremy <jeremy.benoist@gmail.com> | 2015-02-23 22:55:06 +0100 |
---|---|---|
committer | Jeremy <jeremy.benoist@gmail.com> | 2015-03-01 10:49:16 +0100 |
commit | 32da2a70ef278bd42f66eb82c3fbf1905a417b87 (patch) | |
tree | 587ef3bae1f4881047eb1ceb0c005e7a8287bb71 /src/Wallabag/CoreBundle/Tests | |
parent | fca3c757233940cbe4c431e3e05fe74893225fe0 (diff) | |
download | wallabag-32da2a70ef278bd42f66eb82c3fbf1905a417b87.tar.gz wallabag-32da2a70ef278bd42f66eb82c3fbf1905a417b87.tar.zst wallabag-32da2a70ef278bd42f66eb82c3fbf1905a417b87.zip |
Add LiipThemeBundle
Re-defined the config / user relation to be OneToOne bidirectionnal.
ConfigType is now a service so I can inject the list of available themes that are also used by LiipThemeBundle
Force sqlite for test
In case of people use a different driver in parameter.yml (yes I do :))
Diffstat (limited to 'src/Wallabag/CoreBundle/Tests')
-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 | } |