Store board collapsed mode user preference in the database

This commit is contained in:
Frederic Guillot
2016-08-22 21:20:48 -04:00
parent 1d16a53c48
commit 51fef80f7d
6 changed files with 9 additions and 41 deletions

View File

@@ -83,18 +83,6 @@ class UserSessionTest extends Base
$this->assertFalse($us->isAdmin());
}
public function testBoardCollapseMode()
{
$us = new UserSession($this->container);
$this->assertFalse($us->isBoardCollapsed(2));
$us->setBoardDisplayMode(3, false);
$this->assertFalse($us->isBoardCollapsed(3));
$us->setBoardDisplayMode(3, true);
$this->assertTrue($us->isBoardCollapsed(3));
}
public function testFilters()
{
$us = new UserSession($this->container);