mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Build against Spring Framework 5.0.1.BUILD-SNAPSHOT
See gh-10587
This commit is contained in:
parent
273defdb1f
commit
81d1b3c6ee
@ -141,7 +141,7 @@
|
||||
<slf4j.version>1.7.25</slf4j.version>
|
||||
<snakeyaml.version>1.18</snakeyaml.version>
|
||||
<solr.version>6.6.1</solr.version>
|
||||
<spring.version>5.0.0.RELEASE</spring.version>
|
||||
<spring.version>5.0.1.BUILD-SNAPSHOT</spring.version>
|
||||
<spring-amqp.version>2.0.0.RELEASE</spring-amqp.version>
|
||||
<spring-cloud-connectors.version>2.0.0.M1</spring-cloud-connectors.version>
|
||||
<spring-batch.version>4.0.0.M3</spring-batch.version>
|
||||
|
@ -26,7 +26,7 @@ import org.junit.Test;
|
||||
import org.springframework.context.support.GenericApplicationContext;
|
||||
import org.springframework.http.MediaType;
|
||||
import org.springframework.mock.http.server.reactive.MockServerHttpRequest;
|
||||
import org.springframework.mock.http.server.reactive.MockServerWebExchange;
|
||||
import org.springframework.mock.web.server.MockServerWebExchange;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
@ -51,7 +51,7 @@ public class MustacheViewTests {
|
||||
|
||||
@Test
|
||||
public void viewResolvesHandlebars() throws Exception {
|
||||
this.exchange = MockServerHttpRequest.get("/test").toExchange();
|
||||
this.exchange = MockServerWebExchange.from(MockServerHttpRequest.get("/test").build());
|
||||
MustacheView view = new MustacheView();
|
||||
view.setCompiler(Mustache.compiler());
|
||||
view.setUrl(this.templateUrl);
|
||||
|
Loading…
Reference in New Issue
Block a user