File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -822,10 +822,10 @@ describe('UFragmentsPolicy:Rebase', async function () {
822822 . setRebaseTimingParameters ( 60 , 0 , 60 )
823823 await increaseTime ( 60 )
824824 await uFragmentsPolicy . connect ( orchestrator ) . rebase ( )
825- await increaseTime ( 59 )
826825 prevEpoch = await uFragmentsPolicy . epoch ( )
827826 prevTime = await uFragmentsPolicy . lastRebaseTimestampSec ( )
828827 await mockExternalData ( INITIAL_RATE_60P_MORE , INITIAL_CPI , 1010 )
828+ await increaseTime ( 60 )
829829 } )
830830
831831 it ( 'should increment epoch' , async function ( ) {
@@ -843,7 +843,7 @@ describe('UFragmentsPolicy:Rebase', async function () {
843843 it ( 'should update lastRebaseTimestamp' , async function ( ) {
844844 await uFragmentsPolicy . connect ( orchestrator ) . rebase ( )
845845 const time = await uFragmentsPolicy . lastRebaseTimestampSec ( )
846- expect ( time . sub ( prevTime ) ) . to . eq ( 60 )
846+ expect ( time . sub ( prevTime ) ) . to . gte ( 60 )
847847 } )
848848
849849 it ( 'should emit Rebase with positive requestedSupplyAdjustment' , async function ( ) {
You can’t perform that action at this time.
0 commit comments