diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-10-14 22:02:35 -0400 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-10-14 22:02:35 -0400 |
commit | 286b1935663ef3071ad6a0aae3078ad3a42b48e4 (patch) | |
tree | 80469612ac9feba9bea28c1ac7f263e680f52d49 /tests | |
parent | d0e6d2e1f177cfe533ea7819bf79b0469b8d0cc2 (diff) |
Add a dashboard (first version)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/units/ProjectActivityTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/units/ProjectActivityTest.php b/tests/units/ProjectActivityTest.php index 2565b6e7..7e7841dd 100644 --- a/tests/units/ProjectActivityTest.php +++ b/tests/units/ProjectActivityTest.php @@ -24,7 +24,7 @@ class ProjectActivityTest extends Base $this->assertTrue($e->createEvent(1, 2, 1, Task::EVENT_UPDATE, array('task' => $tf->getById(2)))); $this->assertFalse($e->createEvent(1, 1, 0, Task::EVENT_OPEN, array('task' => $tf->getbyId(1)))); - $events = $e->getAll(1); + $events = $e->getProject(1); $this->assertNotEmpty($events); $this->assertTrue(is_array($events)); @@ -50,7 +50,7 @@ class ProjectActivityTest extends Base $this->assertTrue($e->createEvent(1, 1, 1, Task::EVENT_UPDATE, array('task' => $tf->getbyId(1)))); } - $events = $e->getAll(1); + $events = $e->getProject(1); $this->assertNotEmpty($events); $this->assertTrue(is_array($events)); @@ -80,7 +80,7 @@ class ProjectActivityTest extends Base $this->assertEquals($nb_events, $this->registry->shared('db')->table('project_activities')->count()); $e->cleanup($max); - $events = $e->getAll(1); + $events = $e->getProject(1); $this->assertNotEmpty($events); $this->assertTrue(is_array($events)); |