Update UserController.java

Changed the name and email address of the second and the third user to avoid confusion for the readers.
This commit is contained in:
Arvind Kumar Avinash 2022-03-31 08:59:10 +01:00 committed by GitHub
parent 9d19866681
commit f493bfc959
1 changed files with 2 additions and 2 deletions

View File

@ -27,8 +27,8 @@ public class UserController {
LOG.info("Fetching all the users");
return Arrays.asList(
new User(UUID.randomUUID().toString(), "User1", "user1@test.com"),
new User(UUID.randomUUID().toString(), "User1", "user1@test.com"),
new User(UUID.randomUUID().toString(), "User1", "user1@test.com"));
new User(UUID.randomUUID().toString(), "User2", "user2@test.com"),
new User(UUID.randomUUID().toString(), "User3", "user3@test.com"));
}
}