@@ -945,7 +945,7 @@ void moveSuspendToNewBatch_ok_shouldMoveCountersAndAmounts() {
945945 assertNotNull (oldAfter );
946946 assertNotNull (newAfter );
947947
948- assertEquals (0 , oldAfter .getInitialAmountCents ());
948+ assertEquals (150L , oldAfter .getInitialAmountCents ());
949949 assertEquals (0 , oldAfter .getSuspendedAmountCents ());
950950 assertEquals (ZERO_LONG , oldAfter .getNumberOfTransactions ());
951951 assertEquals (ZERO_LONG , oldAfter .getNumberOfTransactionsSuspended ());
@@ -979,7 +979,7 @@ void moveSuspendToNewBatch_newBatchNotFound_returnsBadRequest_andOldWasDecrement
979979 RewardBatch oldBatch = rewardBatchRepository .findById ("batch1" ).block ();
980980 assertNotNull (oldBatch );
981981
982- oldBatch .setInitialAmountCents (accrued );
982+ oldBatch .setInitialAmountCents (ONE_LONG );
983983 oldBatch .setSuspendedAmountCents (accrued );
984984 oldBatch .setNumberOfTransactions (ONE_LONG );
985985 oldBatch .setNumberOfTransactionsSuspended (ONE_LONG );
@@ -1000,7 +1000,7 @@ void moveSuspendToNewBatch_newBatchNotFound_returnsBadRequest_andOldWasDecrement
10001000 RewardBatch oldAfter = rewardBatchRepository .findById ("batch1" ).block ();
10011001 assertNotNull (oldAfter );
10021002
1003- assertEquals (ZERO_LONG , oldAfter .getInitialAmountCents ());
1003+ assertEquals (ONE_LONG , oldAfter .getInitialAmountCents ());
10041004 assertEquals (ZERO_LONG , oldAfter .getSuspendedAmountCents ());
10051005 assertEquals (ZERO_LONG , oldAfter .getNumberOfTransactions ());
10061006 assertEquals (ZERO_LONG , oldAfter .getNumberOfTransactionsSuspended ());
0 commit comments