test: removed unused field

Original commit: elastic/x-pack-elasticsearch@039328fccd
This commit is contained in:
Martijn van Groningen 2015-04-23 22:11:20 +02:00
parent 946df191e9
commit 80a766d18e
1 changed files with 1 additions and 3 deletions

View File

@ -5,7 +5,6 @@
*/ */
package org.elasticsearch.watcher.execution; package org.elasticsearch.watcher.execution;
import org.elasticsearch.cluster.ClusterService;
import org.elasticsearch.common.joda.time.DateTime; import org.elasticsearch.common.joda.time.DateTime;
import org.elasticsearch.common.settings.ImmutableSettings; import org.elasticsearch.common.settings.ImmutableSettings;
import org.elasticsearch.test.ElasticsearchTestCase; import org.elasticsearch.test.ElasticsearchTestCase;
@ -59,9 +58,8 @@ public class ExecutionServiceTests extends ElasticsearchTestCase {
WatchExecutor executor = mock(WatchExecutor.class); WatchExecutor executor = mock(WatchExecutor.class);
WatchStore watchStore = mock(WatchStore.class); WatchStore watchStore = mock(WatchStore.class);
WatchLockService watchLockService = mock(WatchLockService.class); WatchLockService watchLockService = mock(WatchLockService.class);
ClusterService clusterService = mock(ClusterService.class);
Clock clock = new ClockMock(); Clock clock = new ClockMock();
executionService = new ExecutionService(ImmutableSettings.EMPTY, historyStore, executor, watchStore, watchLockService, clusterService, clock); executionService = new ExecutionService(ImmutableSettings.EMPTY, historyStore, executor, watchStore, watchLockService, clock);
} }
@Test @Test