File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
spring-boot/src/test/java/org/springframework/boot/web/reactive/result/view Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 141
141
<slf4j .version>1.7.25</slf4j .version>
142
142
<snakeyaml .version>1.18</snakeyaml .version>
143
143
<solr .version>6.6.1</solr .version>
144
- <spring .version>5.0.0.RELEASE </spring .version>
144
+ <spring .version>5.0.1.BUILD-SNAPSHOT </spring .version>
145
145
<spring-amqp .version>2.0.0.RELEASE</spring-amqp .version>
146
146
<spring-cloud-connectors .version>2.0.0.M1</spring-cloud-connectors .version>
147
147
<spring-batch .version>4.0.0.M3</spring-batch .version>
Original file line number Diff line number Diff line change 26
26
import org .springframework .context .support .GenericApplicationContext ;
27
27
import org .springframework .http .MediaType ;
28
28
import org .springframework .mock .http .server .reactive .MockServerHttpRequest ;
29
- import org .springframework .mock .http .server . reactive .MockServerWebExchange ;
29
+ import org .springframework .mock .web .server .MockServerWebExchange ;
30
30
31
31
import static org .assertj .core .api .Assertions .assertThat ;
32
32
@@ -51,7 +51,7 @@ public void init() {
51
51
52
52
@ Test
53
53
public void viewResolvesHandlebars () throws Exception {
54
- this .exchange = MockServerHttpRequest .get ("/test" ).toExchange ( );
54
+ this .exchange = MockServerWebExchange . from ( MockServerHttpRequest .get ("/test" ).build () );
55
55
MustacheView view = new MustacheView ();
56
56
view .setCompiler (Mustache .compiler ());
57
57
view .setUrl (this .templateUrl );
You can’t perform that action at this time.
0 commit comments