[TEST] Add missing verification in AutoDetectResultProcessorTests

Original commit: elastic/x-pack-elasticsearch@22b620a947
This commit is contained in:
Dimitrios Athanasiou 2017-05-10 17:59:54 +01:00
parent 49eb5ea136
commit 25505fad95
1 changed files with 1 additions and 0 deletions

View File

@ -272,6 +272,7 @@ public class AutoDetectResultProcessorTests extends ESTestCase {
new JobUpdate.Builder(JOB_ID).setModelSnapshotId("a_snapshot_id").build());
verify(client).execute(same(UpdateJobAction.INSTANCE), eq(expectedJobUpdateRequest), any());
verify(persister).commitResultWrites(JOB_ID);
verifyNoMoreInteractions(persister);
}