diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-05-24 22:41:13 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-05-24 22:41:21 -0400 |
commit | a2e5d022e5fd652c7e37e9d9550deb3cf2cb41c8 (patch) | |
tree | 4564133b9c4545c585384d196c77d2561d8c79d4 /tests/units/Model/UserUnreadNotificationTest.php | |
parent | 5b30cd43d4c4197f40fde979e4afdd4ff2518442 (diff) |
Clean up unit tests
Diffstat (limited to 'tests/units/Model/UserUnreadNotificationTest.php')
-rw-r--r-- | tests/units/Model/UserUnreadNotificationTest.php | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/units/Model/UserUnreadNotificationTest.php b/tests/units/Model/UserUnreadNotificationTest.php index 918ab411..843b7860 100644 --- a/tests/units/Model/UserUnreadNotificationTest.php +++ b/tests/units/Model/UserUnreadNotificationTest.php @@ -4,7 +4,6 @@ require_once __DIR__.'/../Base.php'; use Kanboard\Model\TaskFinder; use Kanboard\Model\TaskCreation; -use Kanboard\Model\User; use Kanboard\Model\Task; use Kanboard\Model\Project; use Kanboard\Model\UserUnreadNotification; @@ -17,7 +16,6 @@ class UserUnreadNotificationTest extends Base $p = new Project($this->container); $tf = new TaskFinder($this->container); $tc = new TaskCreation($this->container); - $u = new User($this->container); $this->assertEquals(1, $p->create(array('name' => 'test'))); $this->assertEquals(1, $tc->create(array('title' => 'test', 'project_id' => 1))); @@ -35,7 +33,6 @@ class UserUnreadNotificationTest extends Base $p = new Project($this->container); $tf = new TaskFinder($this->container); $tc = new TaskCreation($this->container); - $u = new User($this->container); $this->assertEquals(1, $p->create(array('name' => 'test'))); $this->assertEquals(1, $tc->create(array('title' => 'test', 'project_id' => 1))); @@ -55,7 +52,6 @@ class UserUnreadNotificationTest extends Base $p = new Project($this->container); $tf = new TaskFinder($this->container); $tc = new TaskCreation($this->container); - $u = new User($this->container); $this->assertEquals(1, $p->create(array('name' => 'test'))); $this->assertEquals(1, $tc->create(array('title' => 'test', 'project_id' => 1))); @@ -77,7 +73,6 @@ class UserUnreadNotificationTest extends Base $p = new Project($this->container); $tf = new TaskFinder($this->container); $tc = new TaskCreation($this->container); - $u = new User($this->container); $this->assertEquals(1, $p->create(array('name' => 'test'))); $this->assertEquals(1, $tc->create(array('title' => 'test', 'project_id' => 1))); |