Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Git ECA API
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eclipse Foundation
IT
APIs
Git ECA API
Commits
09c76d02
Commit
09c76d02
authored
10 months ago
by
Martin Lowe
Browse files
Options
Downloads
Patches
Plain Diff
Fix broken test
parent
7b6219af
No related branches found
No related tags found
1 merge request
!205
Iss #75 - Update lookup to allow for user or email, switch to fetch
Pipeline
#52867
passed
10 months ago
Stage: external
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/test/java/org/eclipsefoundation/git/eca/resource/ValidationResourceTest.java
+1
-1
1 addition, 1 deletion
...sefoundation/git/eca/resource/ValidationResourceTest.java
with
1 addition
and
1 deletion
src/test/java/org/eclipsefoundation/git/eca/resource/ValidationResourceTest.java
+
1
−
1
View file @
09c76d02
...
@@ -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"
},
""
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment