Skip to content

Changed PR test comment#1

Open
Gundwane21 wants to merge 1 commit intomainfrom
test-me
Open

Changed PR test comment#1
Gundwane21 wants to merge 1 commit intomainfrom
test-me

Conversation

@Gundwane21
Copy link
Copy Markdown
Owner

pr

@Gundwane21 Gundwane21 self-assigned this Nov 11, 2023
Copy link
Copy Markdown
Owner Author

@Gundwane21 Gundwane21 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

general comment

Comment on lines 38 to 44
@ApiResponse(responseCode = "409", description = "Returns the user already exists response", content = @Content(mediaType = "application/json"))
public HttpResponseDto register(@RequestBody SignUpDto userDto){
System.out.println('test-pr')

return registerLoginServices.registerUser(userDto);
}
@Operation(description = "Logins the user with Http Basic Authentification", security = {@SecurityRequirement(name="Basic-Authentification")})
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why did you do that @Gundwane21

Comment on lines 45 to +57
Assert.assertEquals(result, leaderboardAllTimes);
}
@Test
@DisplayName("Test retrieving leaderboard for All Times2")
public void getLeaderboardAllTimesTest2() {
List<Map<String, Long>> result = new ArrayList<>();
Map<String, Long> map = new HashMap<String, Long>();
map.put("KeremTheMonopolyKing", (long) 100);
Map<String, Long> map2 = new HashMap<String, Long>();
map2.put("GorkemOfRivia", (long) 180);
Map<String, Long> map3 = new HashMap<String, Long>();
map2.put("John", (long) 360);
result.add(map);
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test

Comment on lines 45 to +57
Assert.assertEquals(result, leaderboardAllTimes);
}
@Test
@DisplayName("Test retrieving leaderboard for All Times2")
public void getLeaderboardAllTimesTest2() {
List<Map<String, Long>> result = new ArrayList<>();
Map<String, Long> map = new HashMap<String, Long>();
map.put("KeremTheMonopolyKing", (long) 100);
Map<String, Long> map2 = new HashMap<String, Long>();
map2.put("GorkemOfRivia", (long) 180);
Map<String, Long> map3 = new HashMap<String, Long>();
map2.put("John", (long) 360);
result.add(map);
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test

Comment on lines 39 to 43
public HttpResponseDto register(@RequestBody SignUpDto userDto){
System.out.println('test-pr')

return registerLoginServices.registerUser(userDto);
}
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

comemnt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant