Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
subrequests
Commits
2b48277a
Unverified
Commit
2b48277a
authored
Feb 10, 2018
by
e0ipso
Committed by
Mateu Aguiló Bosch
Feb 10, 2018
Browse files
Issue
#2943753
by e0ipso: Fix branch tests against D8.6
parent
7719e8c6
Changes
1
Show whitespace changes
Inline
Side-by-side
tests/src/Unit/Blueprint/BlueprintManagerTest.php
View file @
2b48277a
...
...
@@ -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'
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment