Commit 93cb0a0f authored by Tino Goratsch's avatar Tino Goratsch

fix the PHP unit tests

parent e2dec459
......@@ -53,6 +53,6 @@ class LibrariesTest extends \PHPUnit\Framework\TestCase
$this->libraries->enableLibraries(['foobar']);
$this->assertEquals(['jquery', 'ajax-form', 'font-awesome', 'foobar'], $this->libraries->getEnabledLibraries());
$this->assertEquals(['polyfill', 'jquery', 'ajax-form', 'font-awesome', 'foobar'], $this->libraries->getEnabledLibraries());
}
}
......@@ -49,7 +49,7 @@ class AssetsTest extends \PHPUnit\Framework\TestCase
public function testDefaultLibrariesEnabled()
{
$libraries = $this->assets->getEnabledLibrariesAsString();
$this->assertEquals('jquery,popper,bootstrap,ajax-form,font-awesome', $libraries);
$this->assertEquals('polyfill,jquery,popper,bootstrap,ajax-form,font-awesome', $libraries);
}
public function testEnableDatepicker()
......@@ -57,7 +57,7 @@ class AssetsTest extends \PHPUnit\Framework\TestCase
$this->assets->enableLibraries(['datetimepicker']);
$libraries = $this->assets->getEnabledLibrariesAsString();
$this->assertEquals('jquery,popper,bootstrap,ajax-form,moment,datetimepicker-core,datetimepicker,font-awesome', $libraries);
$this->assertEquals('polyfill,jquery,popper,bootstrap,ajax-form,moment,datetimepicker-core,datetimepicker,font-awesome', $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