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 9050f67

Browse filesBrowse files
author
Christian Flothmann
committed
[Filesystem] fix tests on 2.3
The test introduced in symfony#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
Copy full SHA for 9050f67

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Filesystem/Tests/FilesystemTest.php
+1-1Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.