JAVA-940: Migrate spring-jenkins-pipeline to parent-boot-2
This commit is contained in:
parent
ef5ea0f77c
commit
78683ecf0c
|
@ -10,9 +10,9 @@
|
|||
|
||||
<parent>
|
||||
<groupId>com.baeldung</groupId>
|
||||
<artifactId>parent-boot-1</artifactId>
|
||||
<artifactId>parent-boot-2</artifactId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<relativePath>../parent-boot-1</relativePath>
|
||||
<relativePath>../parent-boot-2</relativePath>
|
||||
</parent>
|
||||
|
||||
<dependencies>
|
||||
|
|
|
@ -13,7 +13,7 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
|||
import static org.junit.Assert.assertNotEquals;
|
||||
|
||||
@RunWith(SpringJUnit4ClassRunner.class)
|
||||
@SpringBootTest(classes = {SpringJenkinsPipelineApplication.class, TestMongoConfig.class })
|
||||
@SpringBootTest(classes = {SpringJenkinsPipelineApplication.class})
|
||||
public class SomeIntegrationTest {
|
||||
@Autowired
|
||||
private StudentRepository studentRepository;
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
package com.baeldung;
|
||||
|
||||
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
|
||||
import org.springframework.boot.autoconfigure.mongo.embedded.EmbeddedMongoAutoConfiguration;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
@Configuration
|
||||
@EnableAutoConfiguration(exclude = { EmbeddedMongoAutoConfiguration.class })
|
||||
public class TestMongoConfig {
|
||||
|
||||
}
|
Loading…
Reference in New Issue