From fe5d2d20c3147ece0454ee89b88a87bbd11e8890 Mon Sep 17 00:00:00 2001 From: Filip Izydorczyk Date: Fri, 2 Oct 2020 18:01:51 +0200 Subject: [PATCH] lol small diff fix --- buisnesslogic/pom.xml | 26 +++++++++---------- .../services/CommisionServiceTest.java | 2 +- restservice/pom.xml | 4 +-- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/buisnesslogic/pom.xml b/buisnesslogic/pom.xml index afadcdd..5bbe5c0 100755 --- a/buisnesslogic/pom.xml +++ b/buisnesslogic/pom.xml @@ -16,8 +16,8 @@ UTF-8 - 14 - 14 + 1.14 + 1.14 @@ -27,17 +27,17 @@ 4.12 test - - org.springframework.boot - spring-boot-starter-test - test - - - org.junit.vintage - junit-vintage-engine - - - + + org.springframework.boot + spring-boot-starter-test + test + + + org.junit.vintage + junit-vintage-engine + + + javax.xml.bind jaxb-api diff --git a/buisnesslogic/src/test/java/com/plannaplan/services/CommisionServiceTest.java b/buisnesslogic/src/test/java/com/plannaplan/services/CommisionServiceTest.java index d0bd684..4799e1f 100755 --- a/buisnesslogic/src/test/java/com/plannaplan/services/CommisionServiceTest.java +++ b/buisnesslogic/src/test/java/com/plannaplan/services/CommisionServiceTest.java @@ -54,7 +54,7 @@ public class CommisionServiceTest { final Commision result = this.service.getNewestCommision(usr) .orElseThrow(() -> new NullPointerException("There was no commision")); - assertTrue("Wrong commision was returned", result.getId() == newestCommision.getId()); + assertTrue("Wrong commision was returned", result.getId().equals(newestCommision.getId())); } } diff --git a/restservice/pom.xml b/restservice/pom.xml index 62aa58e..3cd37df 100755 --- a/restservice/pom.xml +++ b/restservice/pom.xml @@ -18,8 +18,8 @@ UTF-8 - 14 - 14 + 1.14 + 1.14 com.plannaplan.App