]> WPIA git - gigi.git/blobdiff - tests/org/cacert/gigi/util/TestNotary.java
upd: change Experience Point calculation from magic number to constant
[gigi.git] / tests / org / cacert / gigi / util / TestNotary.java
index 21045c9a229b1ef1d87bc453dfb35c5f7d4856a7..38f8582f73ed2cda3f7640de1bda553b54fed9d3 100644 (file)
@@ -46,7 +46,7 @@ public class TestNotary extends BusinessTest {
 
         assertEquals(35, assurer.getMaxAssurePoints());
 
-        assertEquals(2 + 60, assurer.getExperiencePoints());
+        assertEquals(User.EXPERIENCE_POINTS + (30 * User.EXPERIENCE_POINTS), assurer.getExperiencePoints());
 
     }