You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: features/mongodb/filters.feature
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -12,9 +12,9 @@ Feature: Filters on collections
12
12
And the response should be in JSON
13
13
And the header "Content-Type" should be equal to "application/problem+json; charset=utf-8"
14
14
And the JSON node "@context" should be equal to "/contexts/Error"
15
-
And the JSON node "@type" should be equal to "hydra:Error"
16
-
And the JSON node "hydra:title" should be equal to "An error occurred"
17
-
And the JSON node "hydra:description" should be equal to "Cannot use reference 'badFourthLevel' in class 'ThirdLevel' for lookup or graphLookup: dbRef references are not supported."
15
+
And the JSON node "@type" should be equal to "Error"
16
+
And the JSON node "title" should be equal to "An error occurred"
17
+
And the JSON node "description" should be equal to "Cannot use reference 'badFourthLevel' in class 'ThirdLevel' for lookup or graphLookup: dbRef references are not supported."
18
18
And the JSON node "trace" should exist
19
19
20
20
Scenario: Error when getting collection with nested properties if references are not correctly stored (not owning side)
@@ -23,7 +23,7 @@ Feature: Filters on collections
23
23
And the response should be in JSON
24
24
And the header "Content-Type" should be equal to "application/problem+json; charset=utf-8"
25
25
And the JSON node "@context" should be equal to "/contexts/Error"
26
-
And the JSON node "@type" should be equal to "hydra:Error"
27
-
And the JSON node "hydra:title" should be equal to "An error occurred"
28
-
And the JSON node "hydra:description" should be equal to "Cannot use reference 'badThirdLevel' in class 'FourthLevel' for lookup or graphLookup: dbRef references are not supported."
26
+
And the JSON node "@type" should be equal to "Error"
27
+
And the JSON node "title" should be equal to "An error occurred"
28
+
And the JSON node "description" should be equal to "Cannot use reference 'badThirdLevel' in class 'FourthLevel' for lookup or graphLookup: dbRef references are not supported."
0 commit comments