commision date fix
This commit is contained in:
@ -17,7 +17,7 @@ public class CommisionResponseMappersTest {
|
||||
final List<CommisionResponse> resposne = CommisionResponseMappers.mapToResponse(coms);
|
||||
|
||||
assertTrue(resposne.get(0) instanceof CommisionResponse);
|
||||
assertTrue(resposne.get(0).getCommisionDate().equals(coms.get(0).getCommisionDate()));
|
||||
assertTrue(resposne.get(1).getCommisionDate().equals(coms.get(1).getCommisionDate()));
|
||||
assertTrue(resposne.get(0).getCommisionDate().equals(coms.get(0).getCommisionDate().toString()));
|
||||
assertTrue(resposne.get(1).getCommisionDate().equals(coms.get(1).getCommisionDate().toString()));
|
||||
}
|
||||
}
|
||||
|
@ -12,6 +12,6 @@ public class CommisionResponseTest {
|
||||
final Commision com = new Commision(null);
|
||||
final CommisionResponse comResponse = new CommisionResponse(com);
|
||||
|
||||
assertTrue(comResponse.getCommisionDate().equals(com.getCommisionDate()));
|
||||
assertTrue(comResponse.getCommisionDate().equals(com.getCommisionDate().toString()));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user