Skip to content

Commit e05ce31

Browse files
author
Jeremiah VALERIE
committed
Fix Symfony 4.0 tests
1 parent 5dd2654 commit e05ce31

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Tests/Functional/App/config/access/mapping/access.types.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ User:
3737
type: Boolean
3838
resolve: true
3939
friends:
40-
access: "@=object === 1"
40+
# replace by strict equality after fix compilation expression language bug in sf 4.0
41+
access: "@=object == 1"
4142
type: friendConnection
4243
argsBuilder: ConnectionArgs
4344
resolve: '@=resolver("friends", [value, args])'
@@ -84,4 +85,5 @@ simpleMutationWithThunkFieldsPayload:
8485
type: relay-mutation-payload
8586
config:
8687
fields:
87-
result: { type: "Int", access: "@=object === 123" }
88+
# replace by strict equality after fix compilation expression language bug in sf 4.0
89+
result: { type: "Int", access: "@=object == 123" }

0 commit comments

Comments
 (0)