Skip to content

Commit 608cf34

Browse files
committed
[release/2024-10-14] fix-forward: fix search test
1 parent cbae7ca commit 608cf34

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

src/api/tests/feature_tests/features/searchCpmProduct.failure.feature

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,12 @@ Feature: Search CPM Products - failures scenarios
88
| Authorization | letmein |
99

1010
Scenario: Search CPM Products per Product Team that does not exist
11-
When I make a "GET" request with "default" headers to "ProductTeam/f9518c12-6c83-4544-97db-d9dd1d64da97/Product"
11+
When I make a "GET" request with "default" headers to "ProductTeam/${ uuid(1) }/Product"
1212
Then I receive a status code "404" with body
13-
| path | value |
14-
| resourceType | OperationOutcome |
15-
| id | << ignore >> |
16-
| meta.profile.0 | https://fhir.nhs.uk/StructureDefinition/NHSDigital-OperationOutcome |
17-
| issue.0.severity | error |
18-
| issue.0.code | processing |
19-
| issue.0.details.coding.0.system | https://fhir.nhs.uk/StructureDefinition/NHSDigital-OperationOutcome |
20-
| issue.0.details.coding.0.code | RESOURCE_NOT_FOUND |
21-
| issue.0.details.coding.0.display | Resource not found |
22-
| issue.0.diagnostics | Could not find ProductTeam for key ('f9518c12-6c83-4544-97db-d9dd1d64da97') |
13+
| path | value |
14+
| errors.0.code | RESOURCE_NOT_FOUND |
15+
| errors.0.message | Could not find ProductTeam for key ('${ uuid(1) }') |
2316
And the response headers contain:
2417
| name | value |
2518
| Content-Type | application/json |
26-
| Content-Length | 514 |
19+
| Content-Length | 134 |

0 commit comments

Comments
 (0)