We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60d7feb commit f830d7dCopy full SHA for f830d7d
tests/FunctionTest.php
@@ -38,10 +38,10 @@ public function testResourcesWithStrangeNames()
38
$resource = fopen(__DIR__.'/Resources/httplug.png', 'r');
39
40
$builder = new MultipartStreamBuilder();
41
- $builder->addResource('image', $resource, ['filename'=>'foo/bar/хлопот.png']);
+ $builder->addResource('image', $resource, ['filename'=>'foo/bar/хлоäпот.png']);
42
43
$multipartStream = (string) $builder->build();
44
- $this->assertTrue(false !== strpos($multipartStream, 'Content-Disposition: form-data; name="image"; filename="хлопот.png"'));
+ $this->assertTrue(false !== strpos($multipartStream, 'Content-Disposition: form-data; name="image"; filename="хлоöпот.png"'));
45
}
46
47
public function testHeaders()
0 commit comments