[BAEL-1626] testing-modules | A Quick Guide to @TestPropertySource - move to existing submodule (#5292)

* *added tests using testpropertysource

* fix: using property for version in pom file

* fix, added dependency with compile scope to build successfully on mvn clean install

* * moved testpropertysource tests from spring-context-tests to spring-tests submodule

* deleted  submodule created for this article, since it was moved
This commit is contained in:
rozagerardo 2018-09-19 11:16:10 -03:00 committed by maibin
parent ca1f5f6bfd
commit a5acc10bac
7 changed files with 0 additions and 25 deletions

View File

@ -1,25 +0,0 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.baeldung</groupId>
<artifactId>spring-context-testing</artifactId>
<version>0.0.1-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
<version>${spring.boot.starter.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
<version>${spring.boot.starter.version}</version>
</dependency>
</dependencies>
<properties>
<spring.boot.starter.version>2.0.4.RELEASE</spring.boot.starter.version>
</properties>
</project>