summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-02-19 17:08:00 -0500
committerFrederic Guillot <fred@kanboard.net>2017-02-19 17:08:00 -0500
commit3b3e8033696e408e699b911c042361d62ce7b7ac (patch)
tree33f2d450bbe40a56703cf22f0d62a67a6f6923f5 /tests
parentdc7c7667ec2eb648ca097d00c25a00f7cc9a7d19 (diff)
Redesign task list view
Diffstat (limited to 'tests')
-rw-r--r--tests/units/Model/ColorModelTest.php (renamed from tests/units/Model/ColorTest.php)5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/units/Model/ColorTest.php b/tests/units/Model/ColorModelTest.php
index 2a2c4b87..aa225670 100644
--- a/tests/units/Model/ColorTest.php
+++ b/tests/units/Model/ColorModelTest.php
@@ -5,7 +5,7 @@ require_once __DIR__.'/../Base.php';
use Kanboard\Model\ColorModel;
use Kanboard\Model\ConfigModel;
-class ColorTest extends Base
+class ColorModelTest extends Base
{
public function testFind()
{
@@ -87,7 +87,6 @@ class ColorTest extends Base
$colorModel = new ColorModel($this->container);
$css = $colorModel->getCss();
- $this->assertStringStartsWith('div.color-yellow {', $css);
- $this->assertStringEndsWith('td.color-amber { background-color: #ffe082}', $css);
+ $this->assertStringStartsWith('.task-board.color-yellow', $css);
}
}