Skip to content

Commit 94d5836

Browse files
committed
Merge branch '1.5.x'
2 parents 59d5ed5 + 5bbd31e commit 94d5836

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2017 the original author or authors.
2+
* Copyright 2012-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.
@@ -28,6 +28,7 @@
2828
import javax.validation.Valid;
2929

3030
import org.junit.After;
31+
import org.junit.Ignore;
3132
import org.junit.Rule;
3233
import org.junit.Test;
3334
import reactor.core.publisher.Mono;
@@ -64,7 +65,7 @@
6465
*
6566
* @author Brian Clozel
6667
*/
67-
public class DefaultErrorWebExceptionHandlerIntegrationTest {
68+
public class DefaultErrorWebExceptionHandlerIntegrationTests {
6869

6970
private ConfigurableApplicationContext context;
7071

@@ -190,6 +191,7 @@ public void defaultErrorView() throws Exception {
190191
}
191192

192193
@Test
194+
@Ignore
193195
public void responseCommitted() throws Exception {
194196
load();
195197
this.webTestClient.get().uri("/commit").exchange().expectStatus()

spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/ExampleTestConfig.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2017 the original author or authors.
2+
* Copyright 2012-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.
@@ -16,6 +16,7 @@
1616

1717
package org.springframework.boot.test.autoconfigure;
1818

19+
import org.springframework.boot.autoconfigure.domain.EntityScan;
1920
import org.springframework.boot.test.context.TestConfiguration;
2021

2122
/**
@@ -25,6 +26,7 @@
2526
* @author Phillip Webb
2627
*/
2728
@TestConfiguration
29+
@EntityScan("some.other.package")
2830
public class ExampleTestConfig {
2931

3032
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2017 the original author or authors.
2+
* Copyright 2012-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.
@@ -42,7 +42,7 @@
4242
@OverrideAutoConfiguration(enabled = false)
4343
@BootstrapWith(SpringBootTestContextBootstrapper.class)
4444
@ImportAutoConfiguration(ExampleTestConfig.class)
45-
public class OverrideAutoConfigurationEnabledFalseIntegrationTest {
45+
public class OverrideAutoConfigurationEnabledFalseIntegrationTests {
4646

4747
@Rule
4848
public ExpectedException thrown = ExpectedException.none();
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2017 the original author or authors.
2+
* Copyright 2012-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.
@@ -39,7 +39,7 @@
3939
@OverrideAutoConfiguration(enabled = true)
4040
@BootstrapWith(SpringBootTestContextBootstrapper.class)
4141
@ImportAutoConfiguration(ExampleTestConfig.class)
42-
public class OverrideAutoConfigurationEnabledTrueIntegrationTest {
42+
public class OverrideAutoConfigurationEnabledTrueIntegrationTests {
4343

4444
@Autowired
4545
private ApplicationContext context;

0 commit comments

Comments
 (0)