diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-09-05 23:30:56 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-09-05 23:30:56 -0400 |
commit | 710f2c7bb046b43ec9878ae795a181101f6d7515 (patch) | |
tree | b62723b6b49c3b6bf2b3ca41a772f552464a9031 /tests/units/AssetHelperTest.php | |
parent | 94b38dd94bd819168163003beec8ef693f9d9839 (diff) |
Improve unit tests
Diffstat (limited to 'tests/units/AssetHelperTest.php')
-rw-r--r-- | tests/units/AssetHelperTest.php | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/units/AssetHelperTest.php b/tests/units/AssetHelperTest.php deleted file mode 100644 index 1143ce1f..00000000 --- a/tests/units/AssetHelperTest.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -require_once __DIR__.'/Base.php'; - -use Helper\Asset; -use Model\Config; - -class AssetHelperTest extends Base -{ - public function testCustomCss() - { - $h = new Asset($this->container); - $c = new Config($this->container); - - $this->assertEmpty($h->customCss()); - - $this->assertTrue($c->save(array('application_stylesheet' => 'p { color: red }'))); - - $this->assertEquals('<style>p { color: red }</style>', $h->customCss()); - } -} |