Skip to content

Commit 3711a6a

Browse files
minor #58302 [Filesystem] revert test changes (xabbuh)
This PR was merged into the 7.2 branch. Discussion ---------- [Filesystem] revert test changes | Q | A | ------------- | --- | Branch? | 7.2 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | | License | MIT we can revert #58152 now that the underlying bug was fixed with #58185 Commits ------- 5ea44be revert test changes
2 parents a526301 + 5ea44be commit 3711a6a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Symfony/Component/AssetMapper/Tests/ImportMap/RemotePackageStorageTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,7 @@ public function testSaveThrowsWhenFailing()
6262
$storage->save($entry, 'any content');
6363
} finally {
6464
if ('\\' === \DIRECTORY_SEPARATOR) {
65-
foreach (glob($vendorDir.'/module_specifier/*') as $file) {
66-
$this->filesystem->chmod($file, 0777);
67-
}
65+
$this->filesystem->chmod($vendorDir.'/module_specifier/module_specifier.index.js', 0777);
6866
} else {
6967
$this->filesystem->chmod($vendorDir.'/module_specifier/', 0777);
7068
}

0 commit comments

Comments
 (0)