Skip to content

Commit

Permalink
Merge branch 'MODTLR-12' into MODTLR-19
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderkurash committed Feb 19, 2024
2 parents ff8641b + 5c2d694 commit 7528db3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test/java/org/folio/client/DcbClientTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import org.mockito.junit.jupiter.MockitoExtension;

@ExtendWith(MockitoExtension.class)
public class DcbClientTest {
class DcbClientTest {
@Mock
private DcbClient dcbClient;

Expand All @@ -29,8 +29,8 @@ void canCreateDcbTransaction() {
when(dcbClient.createDcbTransaction(dcbTransaction)).thenReturn(dcbTransaction);
var response = dcbClient.createDcbTransaction(dcbTransaction);
assertNotNull(response);
assertEquals(response.getRole(), DcbTransaction.RoleEnum.BORROWER);
assertEquals(response.getRequestId(), requestId);
assertEquals(DcbTransaction.RoleEnum.BORROWER, response.getRole());
assertEquals(requestId, response.getRequestId());
}

@Test
Expand Down

0 comments on commit 7528db3

Please sign in to comment.