Skip to content

[AssetMapper] Skip test with chmod failing on Windows #57375

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

smnandre
Copy link
Member

Q A
Branch? 6.4
Bug fix? yes
New feature? no
Deprecations? no
Issues Fix #...
License MIT

Test to check solution for ##57346

(cannot test on Windows elsewhere)

@@ -43,6 +43,10 @@ public function testGetStorageDir()

public function testSaveThrowsWhenVendorDirectoryIsNotWritable()
{
if ('\\' === \DIRECTORY_SEPARATOR) {
$this->markTestSkipped('chmod is not supported on Windows');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this still necessary with the change done in the Filesystem component?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think i missed these changes... :/

KInda still think this is the main reason... but of course if ij the meantime something has been fixed on FS ... 😶‍🌫️

e58b102

@nicolas-grekas
Copy link
Member

Let's try #57574

nicolas-grekas added a commit that referenced this pull request Jun 28, 2024
…grekas)

This PR was merged into the 5.4 branch.

Discussion
----------

[Filesystem] Fix Filesystem::remove() on Windows

| Q             | A
| ------------- | ---
| Branch?       | 5.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Issues        | #57375, #57346
| License       | MIT

Let's experiment with `@smnandre`'s theory.

Commits
-------

2b50dea [Filesystem] Fix Filesystem::remove() on Windows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants