Skip to content

Commit 1b298e5

Browse files
chalasrfabpot
authored andcommitted
[Filesystem] Remove extra argv in dumpFile() tests
1 parent bd34b67 commit 1b298e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1139,7 +1139,7 @@ public function testDumpFileWithFileScheme()
11391139
$scheme = 'file://';
11401140
$filename = $scheme.$this->workspace.DIRECTORY_SEPARATOR.'foo'.DIRECTORY_SEPARATOR.'baz.txt';
11411141

1142-
$this->filesystem->dumpFile($filename, 'bar', null);
1142+
$this->filesystem->dumpFile($filename, 'bar');
11431143

11441144
$this->assertFileExists($filename);
11451145
$this->assertSame('bar', file_get_contents($filename));
@@ -1150,7 +1150,7 @@ public function testDumpFileWithZlibScheme()
11501150
$scheme = 'compress.zlib://';
11511151
$filename = $this->workspace.DIRECTORY_SEPARATOR.'foo'.DIRECTORY_SEPARATOR.'baz.txt';
11521152

1153-
$this->filesystem->dumpFile($filename, 'bar', null);
1153+
$this->filesystem->dumpFile($filename, 'bar');
11541154

11551155
// Zlib stat uses file:// wrapper so remove scheme
11561156
$this->assertFileExists(str_replace($scheme, '', $filename));

0 commit comments

Comments
 (0)