diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index c55debeb3..b4c623ee0 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -111,6 +111,7 @@ Contributors: - [Raphaël Doursenaud](https://github.com/rdoursenaud) - [René Stoltenberg](https://github.com/rstoltenberg) - [Renothing](https://github.com/renothing) +- [Rys Sommefeldt](https://github.com/rys) - [Rzeka](https://github.com/rzeka) - [Sébastien Kergreis](https://github.com/kerro) - [Sebastien Pacilly](https://github.com/spacilly) diff --git a/ChangeLog b/ChangeLog index 25a921683..1ef7ebd3f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,13 @@ Version 1.0.33 (unreleased) -------------- +New features: + +* New API calls for task metadata + Improvements: +* Allow priority changes for inverted priority scales * Add the possibility to attach template hooks with local variables and callback * Add "reference" hooks * Show project name in task forms diff --git a/tests/units/Helper/TaskHelperTest.php b/tests/units/Helper/TaskHelperTest.php index 454da5531..2e2da6eee 100644 --- a/tests/units/Helper/TaskHelperTest.php +++ b/tests/units/Helper/TaskHelperTest.php @@ -9,6 +9,7 @@ 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())); }