Skip to content
Snippets Groups Projects
Commit 09c76d02 authored by Martin Lowe's avatar Martin Lowe :flag_ca:
Browse files

Fix broken test

parent 7b6219af
No related branches found
No related tags found
1 merge request!205Iss #75 - Update lookup to allow for user or email, switch to fetch
Pipeline #52867 passed
...@@ -122,7 +122,7 @@ class ValidationResourceTest { ...@@ -122,7 +122,7 @@ class ValidationResourceTest {
.buildSuccessCase(LOOKUP_URL, new String[] { "slom@eclipse-foundation.org" }, ""); .buildSuccessCase(LOOKUP_URL, new String[] { "slom@eclipse-foundation.org" }, "");
public static final EndpointTestCase LOOKUP_ANONYMOUS_CASE = TestCaseHelper public static final EndpointTestCase LOOKUP_ANONYMOUS_CASE = TestCaseHelper
.prepareTestCase(LOOKUP_URL, new String[] { "slom@eclipse-foundation.org" }, "") .prepareTestCase(LOOKUP_URL, new String[] { "slom@eclipse-foundation.org" }, "")
.setStatusCode(Status.UNAUTHORIZED.getStatusCode()) .setStatusCode(Status.BAD_REQUEST.getStatusCode())
.build(); .build();
public static final EndpointTestCase LOOKUP_FORBIDDEN_CASE = TestCaseHelper public static final EndpointTestCase LOOKUP_FORBIDDEN_CASE = TestCaseHelper
.buildForbiddenCase(LOOKUP_URL, new String[] { "newbie@important.co" }, ""); .buildForbiddenCase(LOOKUP_URL, new String[] { "newbie@important.co" }, "");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment