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: .circleci/config.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -195,7 +195,7 @@ jobs:
195
195
name: Run Behat tests
196
196
command: |-
197
197
mkdir -p build/logs/tmp build/cov
198
-
for f in $(find features -name '*.feature' -not -path 'features/main/exposed_state.feature' -not -path 'features/elasticsearch/*' | circleci tests split --split-by=timings); do
198
+
for f in $(find features -name '*.feature' -not -path 'features/main/exposed_state.feature' -not -path 'features/elasticsearch/*' -not -path 'features/mongodb/*' | circleci tests split --split-by=timings); do
In order to retrieve large collections of resources
4
+
As a client software developer
5
+
I need to retrieve collections with filters
6
+
7
+
@createSchema
8
+
Scenario: Error when getting collection with nested properties if references are not correctly stored (owning side)
9
+
Given there is a dummy object with a fourth level relation
10
+
When I send a "GET" request to "/dummies?relatedDummy.thirdLevel.badFourthLevel.level=4"
11
+
Then the response status code should be 500
12
+
And the response should be in JSON
13
+
And the header "Content-Type" should be equal to "application/ld+json; charset=utf-8"
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."
18
+
And the JSON node "trace" should exist
19
+
20
+
Scenario: Error when getting collection with nested properties if references are not correctly stored (not owning side)
21
+
When I send a "GET" request to "/dummies?relatedDummy.thirdLevel.fourthLevel.badThirdLevel.level=3"
22
+
Then the response status code should be 500
23
+
And the response should be in JSON
24
+
And the header "Content-Type" should be equal to "application/ld+json; charset=utf-8"
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."
0 commit comments