summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authore0ipso2018-02-10 07:52:10 (GMT)
committerMateu Aguiló Bosch2018-02-10 07:52:10 (GMT)
commit2b48277a097046e61d7df8959f210bec6ab08b76 (patch)
tree673a239f477613a2c2d4385fa239c6e8758863e1
parent7719e8c6a3f12b6ff0093898119726014113109d (diff)
Issue #2943753 by e0ipso: Fix branch tests against D8.6
-rw-r--r--tests/src/Unit/Blueprint/BlueprintManagerTest.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/src/Unit/Blueprint/BlueprintManagerTest.php b/tests/src/Unit/Blueprint/BlueprintManagerTest.php
index 160a5b2..4451187 100644
--- a/tests/src/Unit/Blueprint/BlueprintManagerTest.php
+++ b/tests/src/Unit/Blueprint/BlueprintManagerTest.php
@@ -32,6 +32,9 @@ class BlueprintManagerTest extends UnitTestCase {
->willReturn(new SubrequestsTree());
$denormalizer->supportsDenormalization(Argument::type('array'), SubrequestsTree::class, 'json')
->willReturn([])->willReturn(TRUE);
+ // Modern versions of Symfony added an extra parameter.
+ $denormalizer->supportsDenormalization(Argument::type('array'), SubrequestsTree::class, 'json', Argument::type('array'))
+ ->willReturn([])->willReturn(TRUE);
$denormalizer->setSerializer(Argument::any())->willReturn(NULL);
$normalizer = $this->prophesize(MultiresponseNormalizer::class);
$normalizer->normalize(Argument::type('array'), 'multipart-related', Argument::type('array'))