[ 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)
|
||||
- [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)
|
||||
- [Override properties in Spring]
|
||||
|
@ -1,5 +1,2 @@
|
||||
# test properties
|
||||
spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration
|
||||
|
||||
# override properties
|
||||
example.firstProperty=profile
|
||||
spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration
|
@ -1,7 +1,3 @@
|
||||
# security
|
||||
spring.security.user.name=john
|
||||
spring.security.user.password=123
|
||||
|
||||
# override properties
|
||||
example.firstProperty=file
|
||||
example.secondProperty=file
|
||||
spring.security.user.password=123
|
@ -4,3 +4,4 @@
|
||||
- [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)
|
||||
- [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>
|
||||
<artifactId>spring-boot-starter</artifactId>
|
||||
<version>LATEST</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<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