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/doctrine/search_filter.feature
+8-46Lines changed: 8 additions & 46 deletions
Original file line number
Diff line number
Diff line change
@@ -539,52 +539,6 @@ Feature: Search filter on collections
539
539
}
540
540
"""
541
541
542
-
@!postgres
543
-
@!mongodb
544
-
@!lowest
545
-
Scenario: Search collection by binary UUID (Ramsey)
546
-
Given there is a ramsey identified resource with binary uuid "c19900a9-d2b2-45bf-b040-05c72d321282"
547
-
And there is a ramsey identified resource with binary uuid "a96cb2ed-e3dc-4449-9842-830e770cdecc"
548
-
When I send a "GET" request to "/ramsey_uuid_binary_dummies?id=c19900a9-d2b2-45bf-b040-05c72d321282"
549
-
Then the response status code should be 200
550
-
And the response should be in JSON
551
-
And the header "Content-Type" should be equal to "application/ld+json; charset=utf-8"
552
-
And the JSON node "hydra:totalItems" should be equal to "1"
553
-
554
-
@!postgres
555
-
@!mongodb
556
-
@!lowest
557
-
Scenario: Search collection by binary UUID (Ramsey) (multiple values)
558
-
Given there is a ramsey identified resource with binary uuid "f71a6469-1bfc-4945-bad1-d6092f09a8c3"
559
-
When I send a "GET" request to "/ramsey_uuid_binary_dummies?id[]=c19900a9-d2b2-45bf-b040-05c72d321282&id[]=f71a6469-1bfc-4945-bad1-d6092f09a8c3"
560
-
Then the response status code should be 200
561
-
And the response should be in JSON
562
-
And the header "Content-Type" should be equal to "application/ld+json; charset=utf-8"
563
-
And the JSON node "hydra:totalItems" should be equal to "2"
564
-
565
-
@!postgres
566
-
@!mongodb
567
-
@!lowest
568
-
Scenario: Search collection by related binary UUID (Ramsey)
569
-
Given there is a ramsey identified resource with binary uuid "56fa36c3-2b5e-4813-9e3a-b0bbe2ab5553" having a related resource with binary uuid "02227dc6-a371-4b8b-a34c-bbbf921b8ebd"
570
-
And there is a ramsey identified resource with binary uuid "4d796212-4b26-4e19-b092-a32d990b1e7e" having a related resource with binary uuid "31f64c33-6061-4fc1-b0e8-f4711b607c7d"
571
-
When I send a "GET" request to "/ramsey_uuid_binary_dummies?relateds=02227dc6-a371-4b8b-a34c-bbbf921b8ebd"
572
-
Then the response status code should be 200
573
-
And the response should be in JSON
574
-
And the header "Content-Type" should be equal to "application/ld+json; charset=utf-8"
575
-
And the JSON node "hydra:totalItems" should be equal to "1"
576
-
577
-
@!postgres
578
-
@!mongodb
579
-
@!lowest
580
-
Scenario: Search collection by related binary UUID (Ramsey) (multiple values)
581
-
Given there is a ramsey identified resource with binary uuid "3248c908-a89d-483a-b75f-25888730d391" having a related resource with binary uuid "d7b2e909-37b0-411e-814c-74e044afbccb"
582
-
When I send a "GET" request to "/ramsey_uuid_binary_dummies?relateds[]=02227dc6-a371-4b8b-a34c-bbbf921b8ebd&relateds[]=d7b2e909-37b0-411e-814c-74e044afbccb"
583
-
Then the response status code should be 200
584
-
And the response should be in JSON
585
-
And the header "Content-Type" should be equal to "application/ld+json; charset=utf-8"
586
-
And the JSON node "hydra:totalItems" should be equal to "2"
587
-
588
542
Scenario: Search for entities within an impossible range
589
543
When I send a "GET" request to "/dummies?name=MuYm"
590
544
Then the response status code should be 200
@@ -1039,3 +993,11 @@ Feature: Search filter on collections
1039
993
}
1040
994
}
1041
995
"""
996
+
997
+
@createSchema
998
+
Scenario: Search by date (#4128)
999
+
Given there are 3 dummydate objects with dummyDate
1000
+
When I send a "GET" request to "/dummy_dates?dummyDate=2015-04-01"
1001
+
Then the response status code should be 200
1002
+
And the response should be in JSON
1003
+
And the JSON node "hydra:totalItems" should be equal to 1
0 commit comments