aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-05-02 20:19:57 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2016-05-02 20:19:57 +0200
commit8389074180913bc4368a9747d6455dafb2a421df (patch)
tree888881dac84a8f838cd31b588b4a532106471493 /src/Wallabag
parent823397f2d65f0185a404ad52be951a0363fd8e2c (diff)
downloadwallabag-8389074180913bc4368a9747d6455dafb2a421df.tar.gz
wallabag-8389074180913bc4368a9747d6455dafb2a421df.tar.zst
wallabag-8389074180913bc4368a9747d6455dafb2a421df.zip
Add test for creation of new user in config page
Diffstat (limited to 'src/Wallabag')
-rw-r--r--src/Wallabag/CoreBundle/Tests/Controller/ConfigControllerTest.php5
1 files changed, 5 insertions, 0 deletions
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
355 355
356 $this->assertTrue(false !== $user); 356 $this->assertTrue(false !== $user);
357 $this->assertTrue($user->isEnabled()); 357 $this->assertTrue($user->isEnabled());
358 $this->assertEquals('material', $user->getConfig()->getTheme());
359 $this->assertEquals(12, $user->getConfig()->getItemsPerPage());
360 $this->assertEquals(50, $user->getConfig()->getRssLimit());
361 $this->assertEquals('en', $user->getConfig()->getLanguage());
362 $this->assertEquals(1, $user->getConfig()->getReadingSpeed());
358 } 363 }
359 364
360 public function testRssUpdateResetToken() 365 public function testRssUpdateResetToken()