Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1958d21

Browse filesBrowse files
committed
minor #58152 [AssetMapper] fix tests on Windows (xabbuh)
This PR was merged into the 7.2 branch. Discussion ---------- [AssetMapper] fix tests on Windows | Q | A | ------------- | --- | Branch? | 7.2 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | | License | MIT Commits ------- 52a5d5f fix tests on Windows
2 parents d7f5159 + 52a5d5f commit 1958d21
Copy full SHA for 1958d21

File tree

1 file changed

+3
-1
lines changed
Filter options

1 file changed

+3
-1
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/AssetMapper/Tests/ImportMap/RemotePackageStorageTest.php
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ public function testSaveThrowsWhenFailing()
6262
$storage->save($entry, 'any content');
6363
} finally {
6464
if ('\\' === \DIRECTORY_SEPARATOR) {
65-
$this->filesystem->chmod($vendorDir.'/module_specifier/module_specifier.index.js', 0777);
65+
foreach (glob($vendorDir.'/module_specifier/*') as $file) {
66+
$this->filesystem->chmod($file, 0777);
67+
}
6668
} else {
6769
$this->filesystem->chmod($vendorDir.'/module_specifier/', 0777);
6870
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.