Skip to content

Commit c1cabc9

Browse files
committed
fix for TestWorkflowRuleTimeSkippingTest
Signed-off-by: Tihomir Surdilovic <tihomir@temporal.io>
1 parent abcb51c commit c1cabc9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

temporal-testing/src/test/java/io/temporal/testing/TestWorkflowRuleTimeSkippingTest.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
import static org.junit.Assert.assertFalse;
2323
import static org.junit.Assert.assertTrue;
2424

25-
import org.junit.Test;
25+
import org.junit.jupiter.api.Test;
2626

2727
public class TestWorkflowRuleTimeSkippingTest {
2828

@@ -36,11 +36,11 @@ public void testWorkflowRuleTimeSkipping() {
3636
"By default time skipping should be on",
3737
defaultTestWorkflowRule
3838
.createTestEnvOptions(System.currentTimeMillis())
39-
.isUseExternalService());
39+
.isUseTimeskipping());
4040
assertFalse(
4141
"We disabled the time skipping on the rule, so the TestEnvironmentOptions should have it off too",
4242
noTimeSkippingWorkflowRule
4343
.createTestEnvOptions(System.currentTimeMillis())
44-
.isUseExternalService());
44+
.isUseTimeskipping());
4545
}
4646
}

0 commit comments

Comments
 (0)