summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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);
}
}