[ML] Fix unit test
Original commit: elastic/x-pack-elasticsearch@fb6ff7be3f0fe30cd7e0d1317cb114ae43b78558
@@ -262,8 +262,8 @@ public class DataCountsReporterTests extends ESTestCase {
assertEquals(dataCountsReporter.incrementalStats().getLastDataTimeStamp(),
dataCountsReporter.runningTotalStats().getLastDataTimeStamp());
- Mockito.verify(jobDataCountsPersister, Mockito.times(1)).persistDataCounts(eq("SR"), eq(dc), any());
dc.setLastDataTimeStamp(dataCountsReporter.incrementalStats().getLastDataTimeStamp());
+ Mockito.verify(jobDataCountsPersister, Mockito.times(1)).persistDataCounts(eq("SR"), eq(dc), any());
assertEquals(dc, dataCountsReporter.incrementalStats());
}
}
