summaryrefslogtreecommitdiff
path: root/tests/units/Helper
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-01-14 21:59:19 -0500
committerFrederic Guillot <fred@kanboard.net>2016-01-14 21:59:19 -0500
commit1bbd4faf56969427b550a4d006f2d5018cf97371 (patch)
tree098a1735fd6a8eeb2c8cd4d5091715e0d983138e /tests/units/Helper
parent9e24bb2ef08b86c6d1aa150fda5a05538f4882da (diff)
Fix broken unit test
Diffstat (limited to 'tests/units/Helper')
-rw-r--r--tests/units/Helper/AssetHelperTest.php1
-rw-r--r--tests/units/Helper/UrlHelperTest.php1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/units/Helper/AssetHelperTest.php b/tests/units/Helper/AssetHelperTest.php
index 7e1edb12..64fcd569 100644
--- a/tests/units/Helper/AssetHelperTest.php
+++ b/tests/units/Helper/AssetHelperTest.php
@@ -15,6 +15,7 @@ class AssetHelperTest extends Base
$this->assertEmpty($h->customCss());
$this->assertTrue($c->save(array('application_stylesheet' => 'p { color: red }')));
+ $this->container['memoryCache']->flush();
$this->assertEquals('<style>p { color: red }</style>', $h->customCss());
}
diff --git a/tests/units/Helper/UrlHelperTest.php b/tests/units/Helper/UrlHelperTest.php
index 405e9462..9f26a802 100644
--- a/tests/units/Helper/UrlHelperTest.php
+++ b/tests/units/Helper/UrlHelperTest.php
@@ -117,6 +117,7 @@ class UrlHelperTest extends Base
$c = new Config($this->container);
$c->save(array('application_url' => 'https://mykanboard/'));
+ $this->container['memoryCache']->flush();
$h = new Url($this->container);
$this->assertEquals('https://mykanboard/', $c->get('application_url'));