Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
user-manager
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
OZG-Cloud
app
user-manager
Commits
33825bed
Commit
33825bed
authored
2 years ago
by
OZGCloud
Browse files
Options
Downloads
Patches
Plain Diff
OZG-2652 rename StubUserResource -> UserResourceStub
parent
2119dd2a
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/test/java/de/itvsh/kop/user/UserResourceStub.java
+2
-2
2 additions, 2 deletions
src/test/java/de/itvsh/kop/user/UserResourceStub.java
src/test/java/de/itvsh/kop/user/UserResourceTestFactory.java
+2
-2
2 additions, 2 deletions
src/test/java/de/itvsh/kop/user/UserResourceTestFactory.java
with
4 additions
and
4 deletions
src/test/java/de/itvsh/kop/user/UserResourceStub.java
+
2
−
2
View file @
33825bed
...
@@ -20,10 +20,10 @@ import org.keycloak.representations.idm.UserSessionRepresentation;
...
@@ -20,10 +20,10 @@ import org.keycloak.representations.idm.UserSessionRepresentation;
import
lombok.NoArgsConstructor
;
import
lombok.NoArgsConstructor
;
@NoArgsConstructor
@NoArgsConstructor
class
Stub
UserResource
implements
UserResource
{
class
UserResource
Stub
implements
UserResource
{
private
UserRepresentation
userRepresentation
=
UserRepresentationTestFactory
.
create
();
private
UserRepresentation
userRepresentation
=
UserRepresentationTestFactory
.
create
();
public
Stub
UserResource
(
Map
<
String
,
List
<
String
>>
attributes
)
{
public
UserResource
Stub
(
Map
<
String
,
List
<
String
>>
attributes
)
{
userRepresentation
=
UserRepresentationTestFactory
.
createWithAttributes
(
attributes
);
userRepresentation
=
UserRepresentationTestFactory
.
createWithAttributes
(
attributes
);
}
}
...
...
This diff is collapsed.
Click to expand it.
src/test/java/de/itvsh/kop/user/UserResourceTestFactory.java
+
2
−
2
View file @
33825bed
...
@@ -9,10 +9,10 @@ public class UserResourceTestFactory {
...
@@ -9,10 +9,10 @@ public class UserResourceTestFactory {
public
static
UserResource
create
()
{
public
static
UserResource
create
()
{
return
new
Stub
UserResource
();
return
new
UserResource
Stub
();
}
}
public
static
UserResource
createWithAttributes
(
Map
<
String
,
List
<
String
>>
attributes
)
{
public
static
UserResource
createWithAttributes
(
Map
<
String
,
List
<
String
>>
attributes
)
{
return
new
Stub
UserResource
(
attributes
);
return
new
UserResource
Stub
(
attributes
);
}
}
}
}
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