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/SwimlaneTest.php | |
parent | 5b30cd43d4c4197f40fde979e4afdd4ff2518442 (diff) |
Clean up unit tests
Diffstat (limited to 'tests/units/Model/SwimlaneTest.php')
-rw-r--r-- | tests/units/Model/SwimlaneTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/units/Model/SwimlaneTest.php b/tests/units/Model/SwimlaneTest.php index 71c13e40..380d8c77 100644 --- a/tests/units/Model/SwimlaneTest.php +++ b/tests/units/Model/SwimlaneTest.php @@ -152,13 +152,13 @@ class SwimlaneTest extends Base $this->assertEquals(1, $s->create(array('project_id' => 1, 'name' => 'Swimlane #1'))); $this->assertEquals(1, $tc->create(array('title' => 'test', 'project_id' => 1, 'swimlane_id' => 1))); - $task = $tf->getbyId(1); + $task = $tf->getById(1); $this->assertNotEmpty($task); $this->assertEquals(1, $task['swimlane_id']); $this->assertTrue($s->remove(1, 1)); - $task = $tf->getbyId(1); + $task = $tf->getById(1); $this->assertNotEmpty($task); $this->assertEquals(0, $task['swimlane_id']); |