Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bennothommo authored Dec 22, 2023
1 parent 90159fc commit 43637a3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions modules/system/tests/traits/AssetMakerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,19 +80,19 @@ public function testGetAssetPath(): void
$this->assertEquals($hostUrl . 'js/myAsset.js', $path);
}

public function testAssetPriorities(): void
public function testAssetOrdering(): void
{
$hostUrl = Url::to('/');

// Test specified priorities
$this->stub->addCss('mySecond.css', [
'priority' => 2,
'order' => 2,
]);
$this->stub->addCss('myThird.css', [
'priority' => 3,
'order' => 3,
]);
$this->stub->addCss('myFirst.css', [
'priority' => 1,
'order' => 1,
]);

$assets = $this->stub->getAssetPaths();
Expand Down

0 comments on commit 43637a3

Please sign in to comment.