From: Nicolas LÅ“uillet Date: Mon, 2 May 2016 18:19:57 +0000 (+0200) Subject: Add test for creation of new user in config page X-Git-Tag: 2.0.4~14^2 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=refs%2Fpull%2F2005%2Fhead;p=github%2Fwallabag%2Fwallabag.git Add test for creation of new user in config page --- diff --git a/src/Wallabag/CoreBundle/Tests/Controller/ConfigControllerTest.php b/src/Wallabag/CoreBundle/Tests/Controller/ConfigControllerTest.php index 1aa1a7ed..1f9cfe53 100644 --- a/src/Wallabag/CoreBundle/Tests/Controller/ConfigControllerTest.php +++ b/src/Wallabag/CoreBundle/Tests/Controller/ConfigControllerTest.php @@ -355,6 +355,11 @@ class ConfigControllerTest extends WallabagCoreTestCase $this->assertTrue(false !== $user); $this->assertTrue($user->isEnabled()); + $this->assertEquals('material', $user->getConfig()->getTheme()); + $this->assertEquals(12, $user->getConfig()->getItemsPerPage()); + $this->assertEquals(50, $user->getConfig()->getRssLimit()); + $this->assertEquals('en', $user->getConfig()->getLanguage()); + $this->assertEquals(1, $user->getConfig()->getReadingSpeed()); } public function testRssUpdateResetToken()