From e172b68507dd1631d3f86bf408d1c931c4986a21 Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Thu, 23 Nov 2023 19:56:30 -0500 Subject: [PATCH] [AssetMapper] Fixing out-of-date test on Windows Test update was missed on an earlier PR --- .../Tests/Compiler/JavaScriptImportPathCompilerTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Symfony/Component/AssetMapper/Tests/Compiler/JavaScriptImportPathCompilerTest.php b/src/Symfony/Component/AssetMapper/Tests/Compiler/JavaScriptImportPathCompilerTest.php index 99673d1a042a8..c0894825b62aa 100644 --- a/src/Symfony/Component/AssetMapper/Tests/Compiler/JavaScriptImportPathCompilerTest.php +++ b/src/Symfony/Component/AssetMapper/Tests/Compiler/JavaScriptImportPathCompilerTest.php @@ -353,9 +353,9 @@ public function testCompileFindsRelativePathsWithWindowsPathsViaSourcePath() $compiler = new JavaScriptImportPathCompiler($this->createMock(ImportMapConfigReader::class)); $compiler->compile($input, $inputAsset, $assetMapper); $this->assertCount(3, $inputAsset->getJavaScriptImports()); - $this->assertSame('other.js', $inputAsset->getJavaScriptImports()[0]->asset->logicalPath); - $this->assertSame('subdir/foo.js', $inputAsset->getJavaScriptImports()[1]->asset->logicalPath); - $this->assertSame('root_asset.js', $inputAsset->getJavaScriptImports()[2]->asset->logicalPath); + $this->assertSame('other.js', $inputAsset->getJavaScriptImports()[0]->assetLogicalPath); + $this->assertSame('subdir/foo.js', $inputAsset->getJavaScriptImports()[1]->assetLogicalPath); + $this->assertSame('root_asset.js', $inputAsset->getJavaScriptImports()[2]->assetLogicalPath); } /** pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy