From a2e5d022e5fd652c7e37e9d9550deb3cf2cb41c8 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Tue, 24 May 2016 22:41:13 -0400 Subject: Clean up unit tests --- tests/units/Model/SwimlaneTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/units/Model/SwimlaneTest.php') 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']); -- cgit v1.2.3