8000 [Filesystem] fix tests on 2.3 · symfony/symfony@9050f67 · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 9050f67

Browse files
author
Christian Flothmann
committed
[Filesystem] fix tests on 2.3
The test introduced in #16797 used the `assertFilePermissions()` method to test for the expected result. This worked quite well for the PR as it was submitted for the `master` branch. However, the tests now fail on 2.3 as the `FilesystemTestCase` class which contains this method was introduced with Symfony 2.4.
1 parent 0c2f1d9 commit 9050f67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Filesystem/Tests/FilesystemTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ public function testChmodChangesZeroModeOnSubdirectoriesOnRecursive()
492492

493493
$this->filesystem->chmod($directory, 0753, 0000, true);
494494

495-
$this->assertFilePermissions(753, $subdirectory);
495+
$this->assertEquals(753, $this->getFilePermissions($subdirectory));
496496
}
497497

498498
public function testChown()

0 commit comments

Comments
 (0)
0