@@ -43,7 +43,7 @@ Feature: Error handling
43
43
And the response should be in JSON
44
44
And the header "Content-Type" should be equal to "application/ld+json; charset=utf-8"
45
45
And the JSON node "@context" should be equal to "/contexts/Error"
46
- And the JSON node "@type" should be equal to "Error"
46
+ And the JSON node "@type" should be equal to "hydra: Error"
47
47
And the JSON node "hydra:title" should be equal to "An error occurred"
48
48
And the JSON node "hydra:description" should be equal to 'Nested documents for attribute "relatedDummy" are not allowed. Use IRIs instead.'
49
49
And the JSON node "trace" should exist
@@ -63,7 +63,7 @@ Feature: Error handling
63
63
And the response should be in JSON
64
64
And the header "Content-Type" should be equal to "application/ld+json; charset=utf-8"
65
65
And the JSON node "@context" should be equal to "/contexts/Error"
66
- And the JSON node "@type" should be equal to "Error"
66
+ And the JSON node "@type" should be equal to "hydra: Error"
67
67
And the JSON node "hydra:title" should be equal to "An error occurred"
68
68
And the JSON node "hydra:description" should be equal to 'Nested documents for attribute "relatedDummies" are not allowed. Use IRIs instead.'
69
69
And the JSON node "trace" should exist
@@ -80,7 +80,7 @@ Feature: Error handling
80
80
And the response should be in JSON
81
81
And the header "Content-Type" should be equal to "application/ld+json; charset=utf-8"
82
82
And the JSON node "@context" should be equal to "/contexts/Error"
83
- And the JSON node "@type" should be equal to "Error"
83
+ And the JSON node "@type" should be equal to "hydra: Error"
84
84
And the JSON node "hydra:title" should be equal to "An error occurred"
85
85
And the JSON node "hydra:description" should exist
86
86
And the JSON node "trace" should exist
@@ -98,7 +98,7 @@ Feature: Error handling
98
98
And the response should be in JSON
99
99
And the header "Content-Type" should be equal to "application/ld+json; charset=utf-8"
100
100
And the JSON node "@context" should be equal to "/contexts/Error"
101
- And the JSON node "@type" should be equal to "Error"
101
+ And the JSON node "@type" should be equal to "hydra: Error"
102
102
And the JSON node "hydra:title" should be equal to "An error occurred"
103
103
And the JSON node "hydra:description" should be equal to "Update is not allowed for this operation."
104
104
And the JSON node "trace" should exist
@@ -119,7 +119,7 @@ Feature: Error handling
119
119
And the response should be in JSON
120
120
And the header "Content-Type" should be equal to "application/ld+json; charset=utf-8"
121
121
And the JSON node "@context" should be equal to "/contexts/Error"
122
- And the JSON node "@type" should be equal to "Error"
122
+ And the JSON node "@type" should be equal to "hydra: Error"
123
123
And the JSON node "hydra:title" should be equal to "An error occurred"
124
124
And the JSON node "hydra:description" should be equal to "Update is not allowed for this operation."
125
125
And the JSON node "trace" should exist
0 commit comments