Update test case, ChangeLog and contributors

This commit is contained in:
Frederic Guillot 2016-08-14 14:50:04 -04:00
parent 50b354851f
commit d8b60ca0fa
No known key found for this signature in database
GPG Key ID: 92D77191BA7FBC99
3 changed files with 7 additions and 0 deletions

View File

@ -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)

View File

@ -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

View File

@ -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()));
}