Skip to content

Commit 5886156

Browse files
committed
VED-457: fix e-tag
1 parent 2eb8f3a commit 5886156

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

e2e/test_create_immunization.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,7 @@ def test_non_unique_identifier(self):
5656

5757
# Check that duplice CREATE request is rejected after the event is updated then deleted then reinstated
5858
imms["id"] = imms_id # Imms fhir resource should include the id for update
59-
reinstated_res = self.default_imms_api.get_immunization_by_id(imms_id)
60-
etag_version = int(reinstated_res.headers["E-Tag"])
59+
etag_version = 2
6160
print("E-Tag being sent:", etag_version)
6261
self.default_imms_api.update_immunization(imms_id, imms, headers={"E-Tag": str(etag_version)})
6362
res = self.default_imms_api.get_immunization_by_id(imms_id)

0 commit comments

Comments
 (0)