[ BAEL-2515 ]: Move override tutorial classes to spring-testing module (#7232)
This commit is contained in:
parent
c79bc22668
commit
2f7638fd37
@ -6,4 +6,3 @@ The "REST With Spring" Classes: http://bit.ly/restwithspring
|
|||||||
- [Testing with Spring and Spock](https://www.baeldung.com/spring-spock-testing)
|
- [Testing with Spring and Spock](https://www.baeldung.com/spring-spock-testing)
|
||||||
- [Exclude Auto-Configuration Classes in Spring Boot Tests](https://www.baeldung.com/spring-boot-exclude-auto-configuration-test)
|
- [Exclude Auto-Configuration Classes in Spring Boot Tests](https://www.baeldung.com/spring-boot-exclude-auto-configuration-test)
|
||||||
- [Setting the Log Level in Spring Boot when Testing](https://www.baeldung.com/spring-boot-testing-log-level)
|
- [Setting the Log Level in Spring Boot when Testing](https://www.baeldung.com/spring-boot-testing-log-level)
|
||||||
- [Override properties in Spring]
|
|
||||||
|
@ -1,5 +1,2 @@
|
|||||||
# test properties
|
# test properties
|
||||||
spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration
|
spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration
|
||||||
|
|
||||||
# override properties
|
|
||||||
example.firstProperty=profile
|
|
@ -1,7 +1,3 @@
|
|||||||
# security
|
# security
|
||||||
spring.security.user.name=john
|
spring.security.user.name=john
|
||||||
spring.security.user.password=123
|
spring.security.user.password=123
|
||||||
|
|
||||||
# override properties
|
|
||||||
example.firstProperty=file
|
|
||||||
example.secondProperty=file
|
|
@ -4,3 +4,4 @@
|
|||||||
- [A Quick Guide to @TestPropertySource](https://www.baeldung.com/spring-test-property-source)
|
- [A Quick Guide to @TestPropertySource](https://www.baeldung.com/spring-test-property-source)
|
||||||
- [Guide to ReflectionTestUtils for Unit Testing](https://www.baeldung.com/spring-reflection-test-utils)
|
- [Guide to ReflectionTestUtils for Unit Testing](https://www.baeldung.com/spring-reflection-test-utils)
|
||||||
- [How to Test the @Scheduled Annotation](https://www.baeldung.com/spring-testing-scheduled-annotation)
|
- [How to Test the @Scheduled Annotation](https://www.baeldung.com/spring-testing-scheduled-annotation)
|
||||||
|
- [Override properties in Spring]()
|
@ -26,7 +26,6 @@
|
|||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter</artifactId>
|
<artifactId>spring-boot-starter</artifactId>
|
||||||
<version>LATEST</version>
|
<version>LATEST</version>
|
||||||
<scope>test</scope>
|
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
@ -0,0 +1,2 @@
|
|||||||
|
# override properties
|
||||||
|
example.firstProperty=profile
|
@ -0,0 +1,3 @@
|
|||||||
|
# override properties
|
||||||
|
example.firstProperty=file
|
||||||
|
example.secondProperty=file
|
Loading…
x
Reference in New Issue
Block a user