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

Skip to content

[Filesystem] FilesystemTest doesn't pass test on Windows #5233

@bdmu

Description

@bdmu

Hello,

There is an issue some of the test when comparing $file containing filepath such
$file == 'C:\Users\USERNA~1...'
and symlink file path where the filepath is such
'C:\Users\Username...
on statement such
$this->assertEquals($file, readlink($link));

The fix is to call the readlink on $file so it leads to $file = 'C:\Users\Username... since a 'touch' has been done on the file and that the file exists, such
$this->assertEquals(readlink($file), readlink($link));

I'm going to provide the pull request in a short while.

Best regards,
Christophe

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions