BAEL-6649: code review #2
This commit is contained in:
+2
-2
@@ -52,8 +52,8 @@ class DynamicPropertiesIntegrationTest {
|
||||
));
|
||||
|
||||
when().get("/characters?race=hobbit")
|
||||
.then().statusCode(200)
|
||||
.and().body("name", hasItems("Frodo", "Samwise"));
|
||||
.then().statusCode(200)
|
||||
.and().body("name", hasItems("Frodo", "Samwise"));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
+3
-3
@@ -8,12 +8,12 @@ import org.springframework.context.annotation.Bean;
|
||||
import org.testcontainers.containers.MongoDBContainer;
|
||||
import org.testcontainers.utility.DockerImageName;
|
||||
|
||||
public class LocalDevApplication {
|
||||
class LocalDevApplication {
|
||||
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.from(Application::main)
|
||||
.with(LocalDevTestcontainersConfig.class)
|
||||
.run(args);
|
||||
.with(LocalDevTestcontainersConfig.class)
|
||||
.run(args);
|
||||
}
|
||||
|
||||
@TestConfiguration(proxyBeanMethods = false)
|
||||
|
||||
+2
-2
@@ -48,8 +48,8 @@ class ServiceConnectionIntegrationTest {
|
||||
));
|
||||
|
||||
when().get("/characters?race=hobbit")
|
||||
.then().statusCode(200)
|
||||
.and().body("name", hasItems("Frodo", "Samwise"));
|
||||
.then().statusCode(200)
|
||||
.and().body("name", hasItems("Frodo", "Samwise"));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user