Skip to content

Commit 85ee36b

Browse files
committed
Uncomment tests that now work
1 parent 1edd7c3 commit 85ee36b

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

spring-web/src/test/java/org/springframework/http/server/reactive/ErrorHandlerIntegrationTests.java

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2016 the original author or authors.
2+
* Copyright 2002-2018 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -24,12 +24,10 @@
2424
import org.springframework.http.HttpStatus;
2525
import org.springframework.http.ResponseEntity;
2626
import org.springframework.http.client.ClientHttpResponse;
27-
import org.springframework.http.server.reactive.bootstrap.ReactorHttpServer;
2827
import org.springframework.web.client.ResponseErrorHandler;
2928
import org.springframework.web.client.RestTemplate;
3029

31-
import static org.junit.Assert.assertEquals;
32-
import static org.junit.Assume.assumeFalse;
30+
import static org.junit.Assert.*;
3331

3432
/**
3533
* @author Arjen Poutsma
@@ -45,9 +43,6 @@ protected HttpHandler createHttpHandler() {
4543

4644
@Test
4745
public void responseBodyError() throws Exception {
48-
// TODO: fix Reactor
49-
assumeFalse(server instanceof ReactorHttpServer);
50-
5146
RestTemplate restTemplate = new RestTemplate();
5247
restTemplate.setErrorHandler(NO_OP_ERROR_HANDLER);
5348

@@ -59,9 +54,6 @@ public void responseBodyError() throws Exception {
5954

6055
@Test
6156
public void handlingError() throws Exception {
62-
// TODO: fix Reactor
63-
assumeFalse(server instanceof ReactorHttpServer);
64-
6557
RestTemplate restTemplate = new RestTemplate();
6658
restTemplate.setErrorHandler(NO_OP_ERROR_HANDLER);
6759

0 commit comments

Comments
 (0)