File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Symfony/Component/Filesystem/Tests Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ public function testCopyForOriginUrlsAndExistingLocalFileDefaultsToCopy()
169
169
$ this ->filesystem ->copy ($ sourceFilePath , $ targetFilePath , false );
170
170
171
171
$ this ->assertFileExists ($ targetFilePath );
172
- $ this ->assertFileEquals ( $ sourceFilePath, $ targetFilePath );
172
+ $ this ->assertEquals ( file_get_contents ( $ sourceFilePath), file_get_contents ( $ targetFilePath) );
173
173
}
174
174
175
175
public function testMkdirCreatesDirectoriesRecursively ()
@@ -1518,7 +1518,7 @@ public function testAppendToFile()
1518
1518
$ this ->filesystem ->appendToFile ($ filename , 'bar ' );
1519
1519
1520
1520
$ this ->assertFileExists ($ filename );
1521
- $ this ->assertStringEqualsFile ($ filename , 'bar ' );
1521
+ $ this ->assertStringEqualsFile ($ filename , 'foobar ' );
1522
1522
1523
1523
// skip mode check on Windows
1524
1524
if ('\\' !== DIRECTORY_SEPARATOR ) {
You can’t perform that action at this time.
0 commit comments