Skip to content

Commit e172b68

Browse files
committed
[AssetMapper] Fixing out-of-date test on Windows
Test update was missed on an earlier PR
1 parent b85a083 commit e172b68

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)