mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-12 14:58:42 +00:00
Fix absolute path to relative paths
This commit is contained in:
parent
98d969fece
commit
8d15c645a9
|
|
@ -42,7 +42,7 @@ class HeadTest extends \PHPUnit\Framework\TestCase
|
||||||
|
|
||||||
$head->addAsset(AssetType::CSS, '/path/styles.css');
|
$head->addAsset(AssetType::CSS, '/path/styles.css');
|
||||||
$head->addAsset(AssetType::JS, '/path/logic.js');
|
$head->addAsset(AssetType::JS, '/path/logic.js');
|
||||||
$head->addAsset(AssetType::JSLATE, '/path/late.js');
|
$head->addAsset(AssetType::JSLATE, 'path/late.js');
|
||||||
|
|
||||||
$head->setStyle('base', '#test .class { color: #000; }');
|
$head->setStyle('base', '#test .class { color: #000; }');
|
||||||
self::assertEquals(['base' => '#test .class { color: #000; }'], $head->getStyleAll());
|
self::assertEquals(['base' => '#test .class { color: #000; }'], $head->getStyleAll());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user