diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-01-14 21:59:19 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-01-14 21:59:19 -0500 |
commit | 1bbd4faf56969427b550a4d006f2d5018cf97371 (patch) | |
tree | 098a1735fd6a8eeb2c8cd4d5091715e0d983138e /tests/units/Model/TaskCreationTest.php | |
parent | 9e24bb2ef08b86c6d1aa150fda5a05538f4882da (diff) |
Fix broken unit test
Diffstat (limited to 'tests/units/Model/TaskCreationTest.php')
-rw-r--r-- | tests/units/Model/TaskCreationTest.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/units/Model/TaskCreationTest.php b/tests/units/Model/TaskCreationTest.php index e35f1bc7..19b3b0d1 100644 --- a/tests/units/Model/TaskCreationTest.php +++ b/tests/units/Model/TaskCreationTest.php @@ -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'))); |