diff --git a/tests/suite/test_jwt_policies_vsr.py b/tests/suite/test_jwt_policies_vsr.py index 96ec3157dc..2ef80da062 100644 --- a/tests/suite/test_jwt_policies_vsr.py +++ b/tests/suite/test_jwt_policies_vsr.py @@ -352,7 +352,7 @@ def test_jwt_policy_delete_secret( assert f"Request ID:" in resp1.text assert crd_info["status"]["state"] == "Warning" assert ( - f'"{v_s_route_setup.route_m.namespace}/{secret}" which does not exist' + "references an invalid Secret: secret doesn't exist or of an unsupported type" in crd_info["status"]["message"] ) assert resp2.status_code == 500