lol small diff fix
This commit is contained in:
@ -54,7 +54,7 @@ public class CommisionServiceTest {
|
||||
final Commision result = this.service.getNewestCommision(usr)
|
||||
.orElseThrow(() -> new NullPointerException("There was no commision"));
|
||||
|
||||
assertTrue("Wrong commision was returned", result.getId() == newestCommision.getId());
|
||||
assertTrue("Wrong commision was returned", result.getId().equals(newestCommision.getId()));
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user