diff --git a/src/test/java/org/eclipsefoundation/git/eca/resource/ValidationResourceTest.java b/src/test/java/org/eclipsefoundation/git/eca/resource/ValidationResourceTest.java index 29f32c4e4278b1fe5b1a5aa24b338df1ea103529..b2b2bd95da42816e47a542e41d563635057bbeab 100644 --- a/src/test/java/org/eclipsefoundation/git/eca/resource/ValidationResourceTest.java +++ b/src/test/java/org/eclipsefoundation/git/eca/resource/ValidationResourceTest.java @@ -122,7 +122,7 @@ class ValidationResourceTest { .buildSuccessCase(LOOKUP_URL, new String[] { "slom@eclipse-foundation.org" }, ""); public static final EndpointTestCase LOOKUP_ANONYMOUS_CASE = TestCaseHelper .prepareTestCase(LOOKUP_URL, new String[] { "slom@eclipse-foundation.org" }, "") - .setStatusCode(Status.UNAUTHORIZED.getStatusCode()) + .setStatusCode(Status.BAD_REQUEST.getStatusCode()) .build(); public static final EndpointTestCase LOOKUP_FORBIDDEN_CASE = TestCaseHelper .buildForbiddenCase(LOOKUP_URL, new String[] { "newbie@important.co" }, "");