Add test for creation of new user in config page

This commit is contained in:
Nicolas Lœuillet 2016-05-02 20:19:57 +02:00
parent 823397f2d6
commit 8389074180
No known key found for this signature in database
GPG key ID: 5656BE27E1E34D0A

View file

@ -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()