Unverified Commit 2b48277a authored by e0ipso's avatar e0ipso Committed by Mateu Aguiló Bosch

Issue #2943753 by e0ipso: Fix branch tests against D8.6

parent 7719e8c6
......@@ -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'))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment