Fix broken unit test

This commit is contained in:
Frederic Guillot
2016-01-14 21:59:19 -05:00
parent 9e24bb2ef0
commit 1bbd4faf56
5 changed files with 7 additions and 0 deletions

View File

@@ -402,6 +402,7 @@ class TaskCreationTest extends Base
$this->assertEquals('yellow', $task['color_id']);
$this->assertTrue($c->save(array('default_color' => 'orange')));
$this->container['memoryCache']->flush();
$this->assertEquals(2, $tc->create(array('project_id' => 1, 'title' => 'test2')));