From f1334ac39e5e804d8f5bbb7484e6a60b897f6b74 Mon Sep 17 00:00:00 2001 From: Julien Perrochet Date: Thu, 21 Mar 2024 11:57:30 +0100 Subject: [PATCH] last fixes --- .../astm/utm/dss/authentication/oir_api_validator.py | 4 ++-- .../astm/utm/dss/fragments/oir/crud/create_format.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/monitoring/uss_qualifier/scenarios/astm/utm/dss/authentication/oir_api_validator.py b/monitoring/uss_qualifier/scenarios/astm/utm/dss/authentication/oir_api_validator.py index adf505e373..4abd825063 100644 --- a/monitoring/uss_qualifier/scenarios/astm/utm/dss/authentication/oir_api_validator.py +++ b/monitoring/uss_qualifier/scenarios/astm/utm/dss/authentication/oir_api_validator.py @@ -312,7 +312,7 @@ def _verify_oir_mutation(self): ) as check: if no_scope_q.status_code != 401: check.record_failed( - summary=f"Expected 403, got {no_scope_q.status_code}", + summary=f"Expected 401, got {no_scope_q.status_code}", query_timestamps=[no_scope_q.request.timestamp], ) self._sanity_check_oir_not_updated(check, no_scope_q) @@ -400,7 +400,7 @@ def _verify_oir_deletion(self): ) as check: if no_scope_q.status_code != 401: check.record_failed( - summary=f"Expected 403, got {no_scope_q.status_code}", + summary=f"Expected 401, got {no_scope_q.status_code}", query_timestamps=[no_scope_q.request.timestamp], ) self._gen_val.verify_4xx_response(no_scope_q) diff --git a/monitoring/uss_qualifier/scenarios/astm/utm/dss/fragments/oir/crud/create_format.md b/monitoring/uss_qualifier/scenarios/astm/utm/dss/fragments/oir/crud/create_format.md index 5c440de6bb..1266671cec 100644 --- a/monitoring/uss_qualifier/scenarios/astm/utm/dss/fragments/oir/crud/create_format.md +++ b/monitoring/uss_qualifier/scenarios/astm/utm/dss/fragments/oir/crud/create_format.md @@ -1,4 +1,4 @@ -# Update operational intent reference response format test step fragment +# Create operational intent reference response format test step fragment This test step fragment validates that an operational intent references creation returns a body in the correct format.