Skip to content

Commit

Permalink
simplify the test
Browse files Browse the repository at this point in the history
  • Loading branch information
v1r3n committed Sep 23, 2023
1 parent bdc0322 commit 57bbcd7
Showing 1 changed file with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@
import java.util.Map;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.TestPropertySource;
import org.springframework.test.context.junit4.SpringRunner;

import com.netflix.conductor.common.metadata.workflow.WorkflowDef;
import com.netflix.conductor.common.run.Workflow;
Expand All @@ -42,12 +37,9 @@
* Tests the customized {@link ObjectMapper} that is used by {@link com.netflix.conductor.Conductor}
* application.
*/
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.NONE)
@RunWith(SpringRunner.class)
@TestPropertySource(properties = "conductor.queue.type=")
public class ConductorObjectMapperTest {

@Autowired ObjectMapper objectMapper;
ObjectMapper objectMapper = new ObjectMapperProvider().getObjectMapper();

@Test
public void testSimpleMapping() throws IOException {
Expand Down

0 comments on commit 57bbcd7

Please sign in to comment.