[BAEL-12669] - Check modules that don't use our standard parents

This commit is contained in:
amit2103
2019-02-17 23:48:11 +05:30
parent e2988ce85d
commit 2252d72184
19 changed files with 85 additions and 67 deletions
+5 -4
View File
@@ -9,10 +9,10 @@
<description>DDD series examples</description>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.6.RELEASE</version>
<relativePath /> <!-- lookup parent from repository -->
<artifactId>parent-boot-2</artifactId>
<groupId>com.baeldung</groupId>
<version>0.0.1-SNAPSHOT</version>
<relativePath>../parent-boot-2</relativePath>
</parent>
<dependencies>
@@ -86,6 +86,7 @@
<properties>
<joda-money.version>1.0.1</joda-money.version>
<maven-surefire-plugin.version>2.22.0</maven-surefire-plugin.version>
<spring-boot.version>2.0.6.RELEASE</spring-boot.version>
</properties>
</project>
@@ -11,7 +11,7 @@ import org.joda.money.Money;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
class OrderTest {
class OrderUnitTest {
@DisplayName("given order with two items, when calculate total cost, then sum is returned")
@Test
void test0() throws Exception {
@@ -7,7 +7,7 @@ import java.math.BigDecimal;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
public class ViolateOrderBusinessRulesTest {
public class ViolateOrderBusinessRulesUnitTest {
@DisplayName("given two non-zero order line items, when create an order with them, it's possible to set total cost to zero")
@Test
void test() throws Exception {