Skip to content

Commit 5f5dfa2

Browse files
committed
work around deps=low sqlite doctrine bug: https://github.com/doctrine/dbal/pull/3141/files
1 parent 7dd4428 commit 5f5dfa2

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

features/main/crud_abstract.feature

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ Feature: Create-Retrieve-Update-Delete on abstract resource
136136
Then the response status code should be 204
137137
And the response should be empty
138138

139+
@createSchema
139140
Scenario: Create a concrete resource with discriminator
140141
When I add "Content-Type" header equal to "application/ld+json"
141142
And I send a "POST" request to "/abstract_dummies" with body:
@@ -149,16 +150,16 @@ Feature: Create-Retrieve-Update-Delete on abstract resource
149150
Then the response status code should be 201
150151
And the response should be in JSON
151152
And the header "Content-Type" should be equal to "application/ld+json; charset=utf-8"
152-
And the header "Content-Location" should be equal to "/concrete_dummies/2"
153-
And the header "Location" should be equal to "/concrete_dummies/2"
153+
And the header "Content-Location" should be equal to "/concrete_dummies/1"
154+
And the header "Location" should be equal to "/concrete_dummies/1"
154155
And the JSON should be equal to:
155156
"""
156157
{
157158
"@context": "/contexts/ConcreteDummy",
158-
"@id": "/concrete_dummies/2",
159+
"@id": "/concrete_dummies/1",
159160
"@type": "ConcreteDummy",
160161
"instance": "Concrete",
161-
"id": 2,
162+
"id": 1,
162163
"name": "My Dummy"
163164
}
164165
"""

0 commit comments

Comments
 (0)