summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2018-04-02 14:08:14 -0700
committerFrédéric Guillot <fred@kanboard.net>2018-04-02 19:18:11 -0700
commitc84378648f3dede4c30bea9a5e549dafd563adc7 (patch)
tree3401f40916842188f6e7bd6da88484207d4932f7 /tests
parent5f7a3442d61b99e2fbad732bd0eaf9ad64398274 (diff)
Fallback to "status:open" if there is no user filter
Diffstat (limited to 'tests')
-rw-r--r--tests/units/Core/User/UserSessionTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/units/Core/User/UserSessionTest.php b/tests/units/Core/User/UserSessionTest.php
index 875eb959..498d5e7c 100644
--- a/tests/units/Core/User/UserSessionTest.php
+++ b/tests/units/Core/User/UserSessionTest.php
@@ -83,7 +83,7 @@ class UserSessionTest extends Base
public function testFilters()
{
$userSession = new UserSession($this->container);
- $this->assertEquals('', $userSession->getFilters(1));
+ $this->assertEquals('status:open', $userSession->getFilters(1));
$_SESSION['user'] = array('filter' => 'status:open');
$this->assertEquals('status:open', $userSession->getFilters(1));