Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
[AssetMapper] Skip test with chmod failing on Windows
  • Loading branch information
smnandre committed Jun 12, 2024
commit a49b501034bc0f3e4a78da4564e72caf40e274bc
Original file line number Diff line number Diff line change
Expand Up @@ -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

}

$this->filesystem->mkdir($vendorDir = self::$writableRoot.'/assets/acme/vendor');
$this->filesystem->chmod($vendorDir, 0555);

Expand Down