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 @@ -38,10 +38,10 @@ public function testResourcesWithStrangeNames()
38
38
$ resource = fopen (__DIR__ .'/Resources/httplug.png ' , 'r ' );
39
39
40
40
$ builder = new MultipartStreamBuilder ();
41
- $ builder ->addResource ('image ' , $ resource , ['filename ' =>'foo/bar/хлоäпот .png ' ]);
41
+ $ builder ->addResource ('image ' , $ resource , ['filename ' =>'foo/bar/хлопотäκόσμε .png ' ]);
42
42
43
43
$ multipartStream = (string ) $ builder ->build ();
44
- $ this ->assertTrue (false !== strpos ($ multipartStream , 'Content-Disposition: form-data; name="image"; filename="хлоöпот .png" ' ));
44
+ $ this ->assertTrue (false !== strpos ($ multipartStream , 'Content-Disposition: form-data; name="image"; filename="хлопотäκόσμε .png" ' ));
45
45
}
46
46
47
47
public function testHeaders ()
You can’t perform that action at this time.
0 commit comments