Skip to content

Commit d0af12b

Browse files
AlanAlan
authored andcommitted
Removed magic number.
1 parent 51dca28 commit d0af12b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dao/src/test/java/com/iluwatar/dao/CustomerDaoImplTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public void getExistinCustomerById() {
8484

8585
@Test
8686
public void getNonExistinCustomerById() {
87-
final int nonExistingId = 999;
87+
final int nonExistingId = getNonExistingCustomerId();
8888
assertNull(impl.getCustomerById(nonExistingId));
8989
}
9090

0 commit comments

Comments
 (0)