Add boot-like ac bootstrap to spring-cloud-function-serverless-web

This commit is contained in:
Oleg Zhurakousky
2023-06-14 10:38:23 +02:00
parent 649f0089fd
commit 7a1980db1e
7 changed files with 624 additions and 27 deletions

View File

@@ -25,6 +25,7 @@ import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.springframework.cloud.function.test.app.Pet;
import org.springframework.cloud.function.test.app.PetStoreSpringAppConfig;
import org.springframework.http.HttpStatus;
@@ -45,7 +46,7 @@ public class RequestResponseTests {
@BeforeEach
public void before() {
this.mvc = ProxyMvc.INSTANCE(PetStoreSpringAppConfig.class, ProxyErrorController.class);
this.mvc = ProxyMvc.INSTANCE(ProxyErrorController.class, PetStoreSpringAppConfig.class);
}
@AfterEach