Unverified Commit 9b6f63cd authored by e0ipso's avatar e0ipso Committed by Mateu Aguiló Bosch

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

parent 2b48277a
...@@ -43,6 +43,9 @@ class SubrequestsManagerTest extends UnitTestCase { ...@@ -43,6 +43,9 @@ class SubrequestsManagerTest extends UnitTestCase {
$denormalizer $denormalizer
->supportsDenormalization(Argument::type(Subrequest::class), Request::class, NULL) ->supportsDenormalization(Argument::type(Subrequest::class), Request::class, NULL)
->willReturn([])->willReturn(TRUE); ->willReturn([])->willReturn(TRUE);
$denormalizer
->supportsDenormalization(Argument::type(Subrequest::class), Request::class, NULL, Argument::type('array'))
->willReturn([])->willReturn(TRUE);
$serializer = new Serializer( $serializer = new Serializer(
[$denormalizer->reveal()], [$denormalizer->reveal()],
[new JsonDecode()] [new JsonDecode()]
......
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