Commit 590962f5 authored by Tino Goratsch's avatar Tino Goratsch

fixed the unit tests

parent 4e2ebb09
......@@ -49,6 +49,6 @@ class LibrariesTest extends \PHPUnit_Framework_TestCase
$this->libraries->enableLibraries(['foobar']);
$this->assertEquals(['jquery', 'foobar'], $this->libraries->getEnabledLibraries());
$this->assertEquals(['jquery', 'js-cookie', 'foobar'], $this->libraries->getEnabledLibraries());
}
}
......@@ -51,7 +51,7 @@ class AssetsTest extends \PHPUnit_Framework_TestCase
public function testDefaultLibrariesEnabled()
{
$libraries = $this->assets->getEnabledLibrariesAsString();
$this->assertEquals('jquery,bootstrap', $libraries);
$this->assertEquals('jquery,js-cookie,bootstrap', $libraries);
}
public function testEnableDatepicker()
......@@ -59,7 +59,7 @@ class AssetsTest extends \PHPUnit_Framework_TestCase
$this->assets->enableLibraries(['datetimepicker']);
$libraries = $this->assets->getEnabledLibrariesAsString();
$this->assertEquals('moment,jquery,bootstrap,datetimepicker', $libraries);
$this->assertEquals('moment,jquery,js-cookie,bootstrap,datetimepicker', $libraries);
}
public function testFetchAdditionalThemeCssFiles()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment