Skip to content

Commit

Permalink
P4ADEV-1100 resolved sonarcloud issues
Browse files Browse the repository at this point in the history
  • Loading branch information
macacia committed Oct 11, 2024
1 parent a13485f commit a975950
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ void givenClientIdWhenGetClientSecretThenInvokeClientService() {
Mockito.when(clientServiceMock.getClientSecret(organizationIpaCode, clientId)).thenReturn(clientSecretMock);

//When
String clientSecret = clientServiceMock.getClientSecret(organizationIpaCode, clientId);
String clientSecret = service.getClientSecret(organizationIpaCode, clientId);
//Then
Assertions.assertEquals(clientSecretMock, clientSecret);
}
Expand All @@ -294,7 +294,7 @@ void givenOrganizationIpaCodeWhenGetClientsThenInvokeClientService() {
Mockito.when(clientServiceMock.getClients(organizationIpaCode)).thenReturn(clientDTOsMock);

//When
List<ClientDTO> result = clientServiceMock.getClients(organizationIpaCode);
List<ClientDTO> result = service.getClients(organizationIpaCode);
//Then
Assertions.assertEquals(clientDTOsMock, result);
}
Expand Down

0 comments on commit a975950

Please sign in to comment.