diff --git a/test/integration/test_server.cpp b/test/integration/test_server.cpp index dffeb70..ff98f4b 100644 --- a/test/integration/test_server.cpp +++ b/test/integration/test_server.cpp @@ -237,9 +237,9 @@ TEST_CASE("Test endpoint fails when token is bad", auto status = service.Test(nullptr, &request, &response); REQUIRE_NO_FAIL(status); CHECK_THAT(status.error_message(), - Catch::Matchers::ContainsSubstring("UNAUTHENTICATED")); + Catch::Matchers::ContainsSubstring("not authenticated")); CHECK_THAT(status.error_message(), - Catch::Matchers::ContainsSubstring("UNAUTHENTICATED")); + Catch::Matchers::ContainsSubstring("not authenticated")); } TEST_CASE(