File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
tests/integration/Core/Repository Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ protected function createFolderWithNonPrintableUtf8Characters(): Content
191191 $ createStruct ->alwaysAvailable = false ;
192192 $ createStruct ->setField (
193193 'name ' ,
194- utf8_decode ("Non \x09Printable \x0EFolder " )
194+ mb_convert_encoding ("Non \x09Printable \x0EFolder " , ' ISO-8859-1 ' , ' UTF-8 ' )
195195 );
196196
197197 $ locationCreateStruct = $ repository ->getLocationService ()->newLocationCreateStruct (2 );
@@ -338,7 +338,7 @@ public function testNonPrintableUtf8Characters(): void
338338 'query ' => new Criterion \Field (
339339 'name ' ,
340340 Criterion \Operator::EQ ,
341- utf8_decode ("Non \x09Printable \x0EFolder " )
341+ mb_convert_encoding ("Non \x09Printable \x0EFolder " , ' ISO-8859-1 ' , ' UTF-8 ' )
342342 ),
343343 ]
344344 );
You can’t perform that action at this time.
0 commit comments