Skip to content

Commit acb3b53

Browse files
committed
Revert "fix: fix Behat"
This reverts commit cfad5d4.
1 parent 7a3e19f commit acb3b53

51 files changed

Lines changed: 53 additions & 4854 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

features/doctrine/boolean_filter.feature

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,6 @@ Feature: Boolean filter on collections
471471
"properties": {
472472
"@id": {"pattern": "^/converted_booleans/(2|4)$"},
473473
"@type": {"pattern": "^ConvertedBoolean"},
474-
"operation": {"type": "array"},
475474
"name_converted": {"type": "boolean"},
476475
"id": {"type": "integer", "minimum":2, "maximum": 4}
477476
},

features/doctrine/date_filter.feature

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,6 @@ Feature: Date filter on collections
582582
"properties": {
583583
"@id": {"pattern": "^/converted_dates/(29|30)$"},
584584
"@type": {"pattern": "^ConvertedDate"},
585-
"operation": {"type": "array"},
586585
"name_converted": {"type": "string"},
587586
"id": {"type": "integer", "minimum":29, "maximum": 30}
588587
},

features/doctrine/exists_filter.feature

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,6 @@ Feature: Exists filter on collections
169169
"properties": {
170170
"@id": {"pattern": "^/converted_strings/(1|3)$"},
171171
"@type": {"pattern": "^ConvertedString"},
172-
"operation": {"type": "array"},
173172
"name_converted": {"pattern": "^name#(1|3)$"},
174173
"id": {"type": "integer", "minimum":1, "maximum": 3}
175174
},

features/doctrine/issue6175/standard_put_entity_inheritence.feature

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -19,29 +19,6 @@ Feature: Update properties of a resource that are inherited with standard PUT op
1919
"@context": "/contexts/DummyMappedSubclass",
2020
"@id": "/dummy_mapped_subclasses/1",
2121
"@type": "DummyMappedSubclass",
22-
"operation": [
23-
{
24-
"@type": [
25-
"hydra:Operation",
26-
"schema:FindAction"
27-
],
28-
"hydra:description": "Retrieves a DummyMappedSubclass resource.",
29-
"hydra:method": "GET",
30-
"hydra:title": "getDummyMappedSubclass",
31-
"returns": "owl:Nothing"
32-
},
33-
{
34-
"@type": [
35-
"hydra:Operation",
36-
"schema:ReplaceAction"
37-
],
38-
"expects": "DummyMappedSubclass",
39-
"hydra:description": "Replaces the DummyMappedSubclass resource.",
40-
"hydra:method": "PUT",
41-
"hydra:title": "putDummyMappedSubclass",
42-
"returns": "DummyMappedSubclass"
43-
}
44-
],
4522
"id": 1,
4623
"foo": "updated value"
4724
}

features/doctrine/numeric_filter.feature

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@ Feature: Numeric filter on collections
159159
"properties": {
160160
"@id": {"pattern": "^/converted_integers/(2|3)$"},
161161
"@type": {"pattern": "^ConvertedInteger$"},
162-
"operation": {"type": "array"},
163162
"name_converted": {"type": "integer"},
164163
"id": {"type": "integer", "minimum":2, "maximum": 3}
165164
},

features/doctrine/order_filter.feature

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -733,7 +733,6 @@ Feature: Order filter on collections
733733
"properties": {
734734
"@id": {"pattern": "^/converted_integers/3$"},
735735
"@type": {"pattern": "^ConvertedInteger$"},
736-
"operation": {"type": "array"},
737736
"name_converted": {"type": "integer"},
738737
"id": {"type": "integer", "minimum":3, "maximum": 3}
739738
},
@@ -745,7 +744,6 @@ Feature: Order filter on collections
745744
"properties": {
746745
"@id": {"pattern": "^/converted_integers/2$"},
747746
"@type": {"pattern": "^ConvertedInteger$"},
748-
"operation": {"type": "array"},
749747
"name_converted": {"type": "integer"},
750748
"id": {"type": "integer", "minimum":2, "maximum": 2}
751749
},
@@ -757,7 +755,6 @@ Feature: Order filter on collections
757755
"properties": {
758756
"@id": {"pattern": "^/converted_integers/1$"},
759757
"@type": {"pattern": "^ConvertedInteger$"},
760-
"operation": {"type": "array"},
761758
"name_converted": {"type": "integer"},
762759
"id": {"type": "integer", "minimum":1, "maximum": 1}
763760
},

features/doctrine/range_filter.feature

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,6 @@ Feature: Range filter on collections
447447
"properties": {
448448
"@id": {"pattern": "^/converted_integers/(1|2)$"},
449449
"@type": {"pattern": "^ConvertedInteger$"},
450-
"operation": {"type": "array"},
451450
"name_converted": {"type": "integer"},
452451
"id": {"type": "integer", "minimum":1, "maximum": 2}
453452
},

features/elasticsearch/read.feature

Lines changed: 0 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -15,39 +15,6 @@ Feature: Retrieve from Elasticsearch
1515
"@context": "/contexts/User",
1616
"@id": "/users/116b83f8-6c32-48d8-8e28-c5c247532d3f",
1717
"@type": "User",
18-
"operation": [
19-
{
20-
"@type": ["hydra:Operation", "schema:FindAction"],
21-
"hydra:description": "Retrieves a User resource.",
22-
"hydra:method": "GET",
23-
"hydra:title": "getUser",
24-
"returns": "User"
25-
},
26-
{
27-
"@type": ["hydra:Operation", "schema:ReplaceAction"],
28-
"expects": "User",
29-
"hydra:description": "Replaces the User resource.",
30-
"hydra:method": "PUT",
31-
"hydra:title": "putUser",
32-
"returns": "User"
33-
},
34-
{
35-
"@type": "hydra:Operation",
36-
"expects": "User",
37-
"expectsHeader": [{"headerName": "Content-Type", "possibleValue": ["application/merge-patch+json", "application/vnd.api+json"]}],
38-
"hydra:description": "Updates the User resource.",
39-
"hydra:method": "PATCH",
40-
"hydra:title": "patchUser",
41-
"returns": "User"
42-
},
43-
{
44-
"@type": ["hydra:Operation", "schema:DeleteAction"],
45-
"hydra:description": "Deletes the User resource.",
46-
"hydra:method": "DELETE",
47-
"hydra:title": "deleteUser",
48-
"returns": "owl:Nothing"
49-
}
50-
],
5118
"id": "116b83f8-6c32-48d8-8e28-c5c247532d3f",
5219
"gender": "male",
5320
"age": 31,
@@ -425,39 +392,6 @@ Feature: Retrieve from Elasticsearch
425392
"@context": "/contexts/Library",
426393
"@id": "/libraries/116b83f8-6c32-48d8-8e28-c5c247532d3f",
427394
"@type": "Library",
428-
"operation": [
429-
{
430-
"@type": ["hydra:Operation", "schema:FindAction"],
431-
"hydra:description": "Retrieves a Library resource.",
432-
"hydra:method": "GET",
433-
"hydra:title": "getLibrary",
434-
"returns": "Library"
435-
},
436-
{
437-
"@type": ["hydra:Operation", "schema:ReplaceAction"],
438-
"expects": "Library",
439-
"hydra:description": "Replaces the Library resource.",
440-
"hydra:method": "PUT",
441-
"hydra:title": "putLibrary",
442-
"returns": "Library"
443-
},
444-
{
445-
"@type": "hydra:Operation",
446-
"expects": "Library",
447-
"expectsHeader": [{"headerName": "Content-Type", "possibleValue": ["application/merge-patch+json", "application/vnd.api+json"]}],
448-
"hydra:description": "Updates the Library resource.",
449-
"hydra:method": "PATCH",
450-
"hydra:title": "patchLibrary",
451-
"returns": "Library"
452-
},
453-
{
454-
"@type": ["hydra:Operation", "schema:DeleteAction"],
455-
"hydra:description": "Deletes the Library resource.",
456-
"hydra:method": "DELETE",
457-
"hydra:title": "deleteLibrary",
458-
"returns": "owl:Nothing"
459-
}
460-
],
461395
"id": "116b83f8-6c32-48d8-8e28-c5c247532d3f",
462396
"gender": "male",
463397
"age": 31,

features/http_cache/tag_collector_service.feature

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -46,52 +46,6 @@ Feature: Cache invalidation through HTTP Cache tags (custom TagCollector service
4646
"@context": "/contexts/RelationEmbedder",
4747
"@id": "/relation_embedders/2",
4848
"@type": "RelationEmbedder",
49-
"operation": [
50-
{
51-
"@type": "hydra:Operation",
52-
"hydra:description": "Retrieves a RelationEmbedder resource.",
53-
"hydra:method": "GET",
54-
"hydra:title": "A custom operation",
55-
"returns": "xsd:string"
56-
},
57-
{
58-
"@type": "hydra:Operation",
59-
"expects": "RelationEmbedder",
60-
"hydra:description": "Replaces the RelationEmbedder resource.",
61-
"hydra:method": "PUT",
62-
"hydra:title": "A custom operation",
63-
"returns": "xsd:string"
64-
},
65-
{
66-
"@type": "hydra:Operation",
67-
"hydra:description": "Deletes the RelationEmbedder resource.",
68-
"hydra:method": "DELETE",
69-
"hydra:title": "A custom operation",
70-
"returns": "xsd:string"
71-
},
72-
{
73-
"@type": "hydra:Operation",
74-
"hydra:description": "Retrieves a RelationEmbedder resource.",
75-
"hydra:method": "GET",
76-
"hydra:title": "A custom operation",
77-
"returns": "xsd:string"
78-
},
79-
{
80-
"@type": "hydra:Operation",
81-
"hydra:description": "Retrieves a RelationEmbedder resource.",
82-
"hydra:method": "GET",
83-
"hydra:title": "A custom operation",
84-
"returns": "xsd:string"
85-
},
86-
{
87-
"@type": "hydra:Operation",
88-
"expects": "RelationEmbedder",
89-
"hydra:description": "Replaces the RelationEmbedder resource.",
90-
"hydra:method": "PUT",
91-
"hydra:title": "A custom operation",
92-
"returns": "xsd:string"
93-
}
94-
],
9549
"krondstadt": "Krondstadt",
9650
"anotherRelated": {
9751
"@id": "/related_dummies/1",

features/hydra/error.feature

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -40,48 +40,6 @@ Feature: Error handling
4040
"@context": "/contexts/ConstraintViolation",
4141
"@id": "/validation_errors/c1051bb4-d103-4f74-8988-acbcafc7fdc3",
4242
"@type": "ConstraintViolation",
43-
"operation": [
44-
{
45-
"@type": [
46-
"hydra:Operation",
47-
"schema:FindAction"
48-
],
49-
"hydra:description": "Retrieves a ConstraintViolation resource.",
50-
"hydra:method": "GET",
51-
"hydra:title": "getConstraintViolation",
52-
"returns": "ConstraintViolation"
53-
},
54-
{
55-
"@type": [
56-
"hydra:Operation",
57-
"schema:FindAction"
58-
],
59-
"hydra:description": "Retrieves a ConstraintViolation resource.",
60-
"hydra:method": "GET",
61-
"hydra:title": "getConstraintViolation",
62-
"returns": "ConstraintViolation"
63-
},
64-
{
65-
"@type": [
66-
"hydra:Operation",
67-
"schema:FindAction"
68-
],
69-
"hydra:description": "Retrieves a ConstraintViolation resource.",
70-
"hydra:method": "GET",
71-
"hydra:title": "getConstraintViolation",
72-
"returns": "ConstraintViolation"
73-
},
74-
{
75-
"@type": [
76-
"hydra:Operation",
77-
"schema:FindAction"
78-
],
79-
"hydra:description": "Retrieves a ConstraintViolation resource.",
80-
"hydra:method": "GET",
81-
"hydra:title": "getConstraintViolation",
82-
"returns": "ConstraintViolation"
83-
}
84-
],
8543
"status": 422,
8644
"violations": [
8745
{

0 commit comments

Comments
 (0)