summaryrefslogtreecommitdiff
path: root/tests/units
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-06-27 15:14:04 -0400
committerFrederic Guillot <fred@kanboard.net>2015-06-27 15:14:04 -0400
commit6c772de184505ae339a970631c8e98f3e3b6e5f0 (patch)
tree47aaafd9ef996041c7857db72ad1d274d7b44c42 /tests/units
parente6e286be8315345bed575712b338629e4ba76bcb (diff)
Remove column default_project_id for users because it's useless now
Diffstat (limited to 'tests/units')
-rw-r--r--tests/units/UserSessionTest.php13
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/units/UserSessionTest.php b/tests/units/UserSessionTest.php
index 45f1bfde..6a831183 100644
--- a/tests/units/UserSessionTest.php
+++ b/tests/units/UserSessionTest.php
@@ -29,17 +29,4 @@ class UserSessionTest extends Base
$s['user'] = array('is_admin' => true);
$this->assertTrue($us->isAdmin());
}
-
- public function testLastSeenProject()
- {
- $us = new UserSession($this->container);
-
- $this->assertEquals(0, $us->getLastSeenProjectId());
-
- $us->storeLastSeenProjectId(33);
- $this->assertEquals(33, $us->getLastSeenProjectId());
-
- $us->storeLastSeenProjectId(66);
- $this->assertEquals(66, $us->getLastSeenProjectId());
- }
}