Skip to content

Commit cd9b017

Browse files
committed
add IT failsafe
1 parent ee6971f commit cd9b017

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

intro-gwtboot-springboot-server/pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,18 @@
7373
<groupId>org.springframework.boot</groupId>
7474
<artifactId>spring-boot-maven-plugin</artifactId>
7575
</plugin>
76+
<plugin>
77+
<groupId>org.apache.maven.plugins</groupId>
78+
<artifactId>maven-failsafe-plugin</artifactId>
79+
<executions>
80+
<execution>
81+
<goals>
82+
<goal>integration-test</goal>
83+
<goal>verify</goal>
84+
</goals>
85+
</execution>
86+
</executions>
87+
</plugin>
7688
</plugins>
7789
</build>
7890
</project>

intro-gwtboot-springboot-server/src/test/java/com/company/crm/server/PersonControllerIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ void webClientAufruf() {
5353

5454
System.out.println(body);
5555

56-
String expectation = "[{\"name\":\"Lofi - Dr. Jawa\",\"date\":\"2022-12-29@12:56:06.443+0000\",\"personType\":\"COOL\"}]";
56+
String expectation = "[{\"name\":\"Lofi\" - Dr. Jawa\",\"date\":\"2022-12-29@12:56:06.443+0000\",\"personType\":\"COOL\"}]";
5757

5858
assertEquals(expectation.substring(0, 15), body.substring(0, 15));
5959

0 commit comments

Comments
 (0)