Skip to content

Commit

Permalink
wip: add unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesawo committed Sep 26, 2023
1 parent 68147e8 commit 483b24a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
Binary file modified screens/01-login.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ public void setUp() {
objectMapper = new ObjectMapper();
}


// search users
@Test
@DisplayName("Given a valid search request, when searching for users' accounts in pages, then should return ResponseEntity with success")
public void search_ForValidRequest_ReturnsResponseEntityWithSuccess() {
Expand Down Expand Up @@ -131,7 +129,6 @@ public void updateRole_WithValidUserIdAndRequest_ReturnsResponseEntityWithSucces
// Given
Long userId = 123L;
AccountRequest request = new AccountRequest();

// When
when(interactor.updateRoles(userId, request)).thenReturn(ResponseEntity.ok(true));
ResponseEntity<Boolean> response = underTest.updateRole(userId, request);
Expand Down

0 comments on commit 483b24a

Please sign in to comment.