Removed magic number.
This commit is contained in:
parent
51dca28fe7
commit
d0af12b1ee
@ -84,7 +84,7 @@ public class CustomerDaoImplTest {
|
||||
|
||||
@Test
|
||||
public void getNonExistinCustomerById() {
|
||||
final int nonExistingId = 999;
|
||||
final int nonExistingId = getNonExistingCustomerId();
|
||||
assertNull(impl.getCustomerById(nonExistingId));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user