Skip to content

Commit 5a9ac49

Browse files
committed
Removes test for warnings for old artifacts
See gh-3858
1 parent 3fd40b9 commit 5a9ac49

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

spring-cloud-gateway-sample/src/test/java/org/springframework/cloud/gateway/sample/GatewaySampleApplicationTests.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,10 @@
2626
import org.junit.jupiter.api.BeforeAll;
2727
import org.junit.jupiter.api.BeforeEach;
2828
import org.junit.jupiter.api.Test;
29-
import org.junit.jupiter.api.extension.ExtendWith;
3029

3130
import org.springframework.beans.factory.annotation.Autowired;
3231
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
3332
import org.springframework.boot.test.context.SpringBootTest;
34-
import org.springframework.boot.test.system.CapturedOutput;
35-
import org.springframework.boot.test.system.OutputCaptureExtension;
3633
import org.springframework.boot.web.server.test.LocalServerPort;
3734
import org.springframework.cloud.client.DefaultServiceInstance;
3835
import org.springframework.cloud.gateway.config.GatewayMetricsProperties;
@@ -55,7 +52,6 @@
5552
*/
5653
@SpringBootTest(classes = { GatewaySampleApplicationTests.TestConfig.class }, webEnvironment = RANDOM_PORT,
5754
properties = { "management.endpoint.gateway.enabled=true", "management.server.port=${test.port}" })
58-
@ExtendWith(OutputCaptureExtension.class)
5955
public class GatewaySampleApplicationTests {
6056

6157
protected static int managementPort;
@@ -263,12 +259,6 @@ public void actuatorMetrics() {
263259
});
264260
}
265261

266-
@Test
267-
void usesNewStarter(CapturedOutput output) {
268-
assertThat(output).doesNotContain("spring-cloud-starter-gateway is deprecated")
269-
.doesNotContain("spring-cloud-gateway-server is deprecated");
270-
}
271-
272262
@Configuration(proxyBeanMethods = false)
273263
@EnableAutoConfiguration
274264
@LoadBalancerClient(name = "httpbin", configuration = LoadBalancerConfig.class)

0 commit comments

Comments
 (0)