summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authore0ipso2018-02-10 09:56:33 (GMT)
committerMateu Aguiló Bosch2018-02-10 09:56:33 (GMT)
commit9b6f63cddca11bd937af573e37e485dd96c0b9ba (patch)
treed76e8c866358f0efe7ae878b82f72a854e7d0912
parent2b48277a097046e61d7df8959f210bec6ab08b76 (diff)
Issue #2943753 by e0ipso: Fix branch tests against D8.6
-rw-r--r--tests/src/Unit/SubrequestsManagerTest.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/src/Unit/SubrequestsManagerTest.php b/tests/src/Unit/SubrequestsManagerTest.php
index c48d5d5..679fc61 100644
--- a/tests/src/Unit/SubrequestsManagerTest.php
+++ b/tests/src/Unit/SubrequestsManagerTest.php
@@ -43,6 +43,9 @@ class SubrequestsManagerTest extends UnitTestCase {
$denormalizer
->supportsDenormalization(Argument::type(Subrequest::class), Request::class, NULL)
->willReturn([])->willReturn(TRUE);
+ $denormalizer
+ ->supportsDenormalization(Argument::type(Subrequest::class), Request::class, NULL, Argument::type('array'))
+ ->willReturn([])->willReturn(TRUE);
$serializer = new Serializer(
[$denormalizer->reveal()],
[new JsonDecode()]