Nick Satinover 7 лет назад
Родитель
Сommit
4508e205d8
1 измененных файлов: 2 добавлений и 2 удалений
  1. 2
    2
      src/test/java/com/zipcodewilmington/generic/group/InsertTest.java

+ 2
- 2
src/test/java/com/zipcodewilmington/generic/group/InsertTest.java Просмотреть файл

@@ -26,7 +26,7 @@ public class InsertTest {
26 26
 
27 27
     @Test
28 28
     public void testRandom() {
29
-        test(Math.abs(new Random().nextInt()));
29
+        test(Math.abs(1000));
30 30
     }
31 31
 
32 32
     private void test(Integer numberOfObjectsToAdd) {
@@ -44,7 +44,7 @@ public class InsertTest {
44 44
             group.insert(identifiable);
45 45
 
46 46
             // then
47
-            Assert.assertFalse(group.has(identifiable));
47
+            Assert.assertTrue(group.has(identifiable));
48 48
         }
49 49
     }
50 50
 }