diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-01-08 18:07:38 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-01-08 18:07:38 -0500 |
commit | 5ce0ebdd26c051049955ad4f1cc3b2659c083e9a (patch) | |
tree | ff4fc6cbc166a7dd2076ddab243e65d7fcd260a3 /tests | |
parent | 07f9700179da74b056485375652c3b26d6fbce0d (diff) |
Rename methods to render fields in TaskHelper and SubtaskHelper
Diffstat (limited to 'tests')
-rw-r--r-- | tests/units/Helper/TaskHelperTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/units/Helper/TaskHelperTest.php b/tests/units/Helper/TaskHelperTest.php index 2e2da6ee..8609983e 100644 --- a/tests/units/Helper/TaskHelperTest.php +++ b/tests/units/Helper/TaskHelperTest.php @@ -9,9 +9,9 @@ class TaskHelperTest extends Base public function testSelectPriority() { $helper = new TaskHelper($this->container); - $this->assertNotEmpty($helper->selectPriority(array('priority_end' => '1', 'priority_start' => '5', 'priority_default' => '2'), array())); - $this->assertNotEmpty($helper->selectPriority(array('priority_end' => '3', 'priority_start' => '1', 'priority_default' => '2'), array())); - $this->assertEmpty($helper->selectPriority(array('priority_end' => '3', 'priority_start' => '3', 'priority_default' => '2'), array())); + $this->assertNotEmpty($helper->renderPriorityField(array('priority_end' => '1', 'priority_start' => '5', 'priority_default' => '2'), array())); + $this->assertNotEmpty($helper->renderPriorityField(array('priority_end' => '3', 'priority_start' => '1', 'priority_default' => '2'), array())); + $this->assertEmpty($helper->renderPriorityField(array('priority_end' => '3', 'priority_start' => '3', 'priority_default' => '2'), array())); } public function testFormatPriority() |