fix ci failed issue
This commit is contained in:
parent
24010d134b
commit
73401d1077
|
|
@ -26,8 +26,8 @@ public class AbstractPostTestCase {
|
|||
|
||||
@Before
|
||||
public void init() {
|
||||
ClusterWorkerContext clusterWorkerContext = mock(ClusterWorkerContext.class);
|
||||
LocalWorkerContext localWorkerContext = mock(LocalWorkerContext.class);
|
||||
ClusterWorkerContext clusterWorkerContext = PowerMockito.mock(ClusterWorkerContext.class);
|
||||
LocalWorkerContext localWorkerContext = PowerMockito.mock(LocalWorkerContext.class);
|
||||
post = spy(new TestAbstractPost(TestAbstractPost.WorkerRole.INSTANCE, clusterWorkerContext, localWorkerContext));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue