From c84378648f3dede4c30bea9a5e549dafd563adc7 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Mon, 2 Apr 2018 14:08:14 -0700 Subject: Fallback to "status:open" if there is no user filter --- tests/units/Core/User/UserSessionTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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)); -- cgit v1.2.3