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 df4f2d4 commit 08fd2d3Copy full SHA for 08fd2d3
dev/tests/integration/testsuite/Magento/Dhl/Model/CarrierTest.php
@@ -280,13 +280,19 @@ public function testRequestToShip(
280
'store',
281
null
282
);
283
+ $convmap = [0x80, 0x10FFFF, 0, 0x1FFFFF];
284
+ $content = mb_encode_numericentity(
285
+ file_get_contents(__DIR__ . '/../_files/response_shipping_label.xml'),
286
+ $convmap,
287
+ 'UTF-8'
288
+ );
289
//phpcs:disable Magento2.Functions.DiscouragedFunction
290
$this->httpClient->nextResponses(
291
[
292
new Response(
293
200,
294
[],
- mb_convert_encoding(file_get_contents(__DIR__ . '/../_files/response_shipping_label.xml'), 'UTF-8')
295
+ $content
296
)
297
]
298
0 commit comments