File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed 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()
169169 $ this ->filesystem ->copy ($ sourceFilePath , $ targetFilePath , false );
170170
171171 $ this ->assertFileExists ($ targetFilePath );
172- $ this ->assertFileEquals ( $ sourceFilePath, $ targetFilePath );
172+ $ this ->assertEquals ( file_get_contents ( $ sourceFilePath), file_get_contents ( $ targetFilePath) );
173173 }
174174
175175 public function testMkdirCreatesDirectoriesRecursively ()
@@ -1518,7 +1518,7 @@ public function testAppendToFile()
15181518 $ this ->filesystem ->appendToFile ($ filename , 'bar ' );
15191519
15201520 $ this ->assertFileExists ($ filename );
1521- $ this ->assertStringEqualsFile ($ filename , 'bar ' );
1521+ $ this ->assertStringEqualsFile ($ filename , 'foobar ' );
15221522
15231523 // skip mode check on Windows
15241524 if ('\\' !== DIRECTORY_SEPARATOR ) {
You can’t perform that action at this time.
0 commit comments