Skip to content

Commit 75a6cbb

Browse files
committed
minor symfony#52711 [AssetMapper] Fix windows ci fail (weaverryan)
This PR was merged into the 6.4 branch. Discussion ---------- [AssetMapper] Fix windows ci fail | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | Fixes CI | License | MIT I missed the windows-only test in symfony#52523. Cheers! Commits ------- e172b68 [AssetMapper] Fixing out-of-date test on Windows
2 parents b85a083 + e172b68 commit 75a6cbb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Symfony/Component/AssetMapper/Tests/Compiler/JavaScriptImportPathCompilerTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -353,9 +353,9 @@ public function testCompileFindsRelativePathsWithWindowsPathsViaSourcePath()
353353
$compiler = new JavaScriptImportPathCompiler($this->createMock(ImportMapConfigReader::class));
354354
$compiler->compile($input, $inputAsset, $assetMapper);
355355
$this->assertCount(3, $inputAsset->getJavaScriptImports());
356-
$this->assertSame('other.js', $inputAsset->getJavaScriptImports()[0]->asset->logicalPath);
357-
$this->assertSame('subdir/foo.js', $inputAsset->getJavaScriptImports()[1]->asset->logicalPath);
358-
$this->assertSame('root_asset.js', $inputAsset->getJavaScriptImports()[2]->asset->logicalPath);
356+
$this->assertSame('other.js', $inputAsset->getJavaScriptImports()[0]->assetLogicalPath);
357+
$this->assertSame('subdir/foo.js', $inputAsset->getJavaScriptImports()[1]->assetLogicalPath);
358+
$this->assertSame('root_asset.js', $inputAsset->getJavaScriptImports()[2]->assetLogicalPath);
359359
}
360360

361361
/**

0 commit comments

Comments
 (0)