From 5ea44be8a5ad4455da884869f2df3c060dad4f31 Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Thu, 5 Sep 2024 08:51:43 +0200 Subject: [PATCH] revert test changes --- .../AssetMapper/Tests/ImportMap/RemotePackageStorageTest.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Symfony/Component/AssetMapper/Tests/ImportMap/RemotePackageStorageTest.php b/src/Symfony/Component/AssetMapper/Tests/ImportMap/RemotePackageStorageTest.php index 82b0bd6b5be81..7c0f1541a85ed 100644 --- a/src/Symfony/Component/AssetMapper/Tests/ImportMap/RemotePackageStorageTest.php +++ b/src/Symfony/Component/AssetMapper/Tests/ImportMap/RemotePackageStorageTest.php @@ -62,9 +62,7 @@ public function testSaveThrowsWhenFailing() $storage->save($entry, 'any content'); } finally { if ('\\' === \DIRECTORY_SEPARATOR) { - foreach (glob($vendorDir.'/module_specifier/*') as $file) { - $this->filesystem->chmod($file, 0777); - } + $this->filesystem->chmod($vendorDir.'/module_specifier/module_specifier.index.js', 0777); } else { $this->filesystem->chmod($vendorDir.'/module_specifier/', 0777); }