Skip to content

Commit 1199b57

Browse files
committed
Spring test still running under test server when it shouldn't
1 parent 5af7560 commit 1199b57

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

temporal-spring-boot-autoconfigure/src/test/java/io/temporal/spring/boot/autoconfigure/WorkerVersioningTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
import io.temporal.client.WorkflowClient;
3030
import io.temporal.client.WorkflowOptions;
3131
import io.temporal.common.WorkflowExecutionHistory;
32+
import io.temporal.spring.boot.autoconfigure.properties.TemporalProperties;
3233
import io.temporal.spring.boot.autoconfigure.workerversioning.TestWorkflow;
3334
import io.temporal.spring.boot.autoconfigure.workerversioning.TestWorkflow2;
3435
import org.junit.jupiter.api.BeforeEach;
@@ -47,7 +48,7 @@
4748
@TestInstance(TestInstance.Lifecycle.PER_CLASS)
4849
public class WorkerVersioningTest {
4950
@Autowired ConfigurableApplicationContext applicationContext;
50-
51+
@Autowired TemporalProperties temporalProperties;
5152
@Autowired WorkflowClient workflowClient;
5253

5354
@BeforeEach

0 commit comments

Comments
 (0)