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 @@ -72,7 +72,7 @@ public function testDownloadNonAsciiFilename()
7272 $ files = new FilesystemAdapter ($ this ->filesystem , $ this ->adapter );
7373 $ response = $ files ->download ('file.txt ' , 'пиздюк.txt ' );
7474 $ this ->assertInstanceOf (StreamedResponse::class, $ response );
75- $ this ->assertSame ("attachment; filename=pizdyuk .txt; filename*=utf-8''%D0%BF%D0%B8%D0%B7%D0%B4%D1%8E%D0%BA.txt " , $ response ->headers ->get ('content-disposition ' ));
75+ $ this ->assertSame ("attachment; filename=pizdiuk .txt; filename*=utf-8''%D0%BF%D0%B8%D0%B7%D0%B4%D1%8E%D0%BA.txt " , $ response ->headers ->get ('content-disposition ' ));
7676 }
7777
7878 public function testDownloadNonAsciiEmptyFilename ()
@@ -81,7 +81,7 @@ public function testDownloadNonAsciiEmptyFilename()
8181 $ files = new FilesystemAdapter ($ this ->filesystem , $ this ->adapter );
8282 $ response = $ files ->download ('пиздюк.txt ' );
8383 $ this ->assertInstanceOf (StreamedResponse::class, $ response );
84- $ this ->assertSame ('attachment; filename=pizdyuk .txt; filename*=utf-8 \'\'%D0%BF%D0%B8%D0%B7%D0%B4%D1%8E%D0%BA.txt ' , $ response ->headers ->get ('content-disposition ' ));
84+ $ this ->assertSame ('attachment; filename=pizdiuk .txt; filename*=utf-8 \'\'%D0%BF%D0%B8%D0%B7%D0%B4%D1%8E%D0%BA.txt ' , $ response ->headers ->get ('content-disposition ' ));
8585 }
8686
8787 public function testDownloadPercentInFilename ()
You can’t perform that action at this time.
0 commit comments