From 2481138e00788a409f3640d3d3603ae49911495c Mon Sep 17 00:00:00 2001 From: "roman.kisluhin" Date: Thu, 13 Apr 2023 21:03:31 +0300 Subject: [PATCH 1/2] Fixed sample test class and build configuration --- build.gradle | 2 -- src/test/java/biz/redsoft/sample/SampleTests.java | 6 +++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index c41c593..00fff76 100644 --- a/build.gradle +++ b/build.gradle @@ -38,8 +38,6 @@ repositories { } dependencies { - testImplementation 'junit:junit:4.13.1' - provided 'javax.servlet:javax.servlet-api:3.1.0' testCompile 'org.junit.jupiter:junit-jupiter:5.8.2' diff --git a/src/test/java/biz/redsoft/sample/SampleTests.java b/src/test/java/biz/redsoft/sample/SampleTests.java index 53866da..681fe80 100644 --- a/src/test/java/biz/redsoft/sample/SampleTests.java +++ b/src/test/java/biz/redsoft/sample/SampleTests.java @@ -6,8 +6,8 @@ import java.io.IOException; import java.util.Arrays; import java.util.Properties; -import org.junit.Assert; -import org.junit.Test; +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; /** * @author Victor Bellavin @@ -17,6 +17,6 @@ public class SampleTests { public void testProductName() throws IOException { final Properties props = new Properties(System.getProperties()); Misc.loadProperties(props, Arrays.asList("ncore-properties.xml", "ncore-properties-local.xml")); - Assert.assertEquals(props.getProperty("product.name"), "sample"); + Assertions.assertEquals(props.getProperty("product.name"), "sample"); } } From cd4cc614a6652e6ce139cbe9498be90be7f808ca Mon Sep 17 00:00:00 2001 From: "sergey.tolstyh" Date: Fri, 14 Apr 2023 11:16:11 +0300 Subject: [PATCH 2/2] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB?= =?UTF-8?q?=20=D0=BF=D0=B0=D0=BF=D0=BA=D1=83=20updates?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- updates/.gitkeep | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 updates/.gitkeep diff --git a/updates/.gitkeep b/updates/.gitkeep new file mode 100644 index 0000000..e69de29