Skip to content

Commit 76d9ab4

Browse files
authored
Merge pull request #198 from NHSDigital/dev/NPA-4922_Fix_Tests
NPA-4922 Fix Postman Tests
2 parents cc03a14 + 4d1a863 commit 76d9ab4

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/run-postman-collection.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Run postman collection
22
on:
33
workflow_dispatch:
4+
schedule:
5+
- cron: "0 0 * * *" # Runs every day at midnight UTC
46
jobs:
57
run-postman-collection:
68
runs-on: ubuntu-latest

postman/Validate Relationship Service Sandbox.postman_collection.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"description": "Example usage of the Validate Relationship Service (VRS) sandbox.\n\nFull specification is available at [https://digital.nhs.uk/developer/api-catalogue/validated-relationship-service](https://digital.nhs.uk/developer/api-catalogue/validated-relationship-service)",
66
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
77
"_exporter_id": "34042403",
8-
"_collection_link": "https://www.postman.com/jackplowman2/validate-relationship-service-sandbox-01-05-25/collection/jcpiqj2/validate-relationship-service-sandbox-01-05-25?action=share&source=collection_link&creator=34042403"
8+
"_collection_link": "https://www.postman.com/jackplowman2/workspace/validate-relationship-service-sandbox-01-05-25/collection/34042403-a5dcb0b1-ad72-4665-942e-2041cc61e26d?action=share&source=collection_link&creator=34042403"
99
},
1010
"item": [
1111
{
@@ -4660,7 +4660,7 @@
46604660
" \"issue\": [",
46614661
" {",
46624662
" \"code\": \"invalid\",",
4663-
" \"diagnostics\": \"Invalid request with error - performer:identifier parameter is invalid.\",",
4663+
" \"diagnostics\": \"Invalid request with error - performer:identifier or patient:identifier parameter is invalid.\",",
46644664
" \"details\": {",
46654665
" \"coding\": [",
46664666
" {",
@@ -4728,7 +4728,7 @@
47284728
" \"issue\": [",
47294729
" {",
47304730
" \"code\": \"invalid\",",
4731-
" \"diagnostics\": \"Invalid request with error - performer:identifier system parameter is invalid.\",",
4731+
" \"diagnostics\": \"Invalid request with error - performer:identifier or patient:identifier system parameter is invalid.\",",
47324732
" \"details\": {",
47334733
" \"coding\": [",
47344734
" {",
@@ -4796,7 +4796,7 @@
47964796
" \"issue\": [",
47974797
" {",
47984798
" \"code\": \"invalid\",",
4799-
" \"diagnostics\": \"Invalid request with error - performer:identifier parameter not found.\",",
4799+
" \"diagnostics\": \"Invalid request with error - performer:identifier or patient:identifier parameter not found.\",",
48004800
" \"details\": {",
48014801
" \"coding\": [",
48024802
" {",
@@ -4827,7 +4827,8 @@
48274827
" pm.expect(responseJson).to.eql(expectedResponseBody);",
48284828
"});"
48294829
],
4830-
"type": "text/javascript"
4830+
"type": "text/javascript",
4831+
"packages": {}
48314832
}
48324833
}
48334834
],

0 commit comments

Comments
 (0)