From 8a4df6331cd1107c1b4329f525a1d083bd8f2b4a Mon Sep 17 00:00:00 2001 From: Andrei Solntsev Date: Fri, 17 May 2024 16:20:38 +0300 Subject: [PATCH] update dependencies * commons-lang3 3.5 -> 3.14.0 * some test dependencies (junit, mockito, slf4j, commons-validator) * some maven plugins * bump minimul java version from 6 to 8 (noboday every uses Java 1...7 nowadays) --- pom.xml | 22 +++++++++---------- .../service/FakeValuesServiceTest.java | 4 ++-- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/pom.xml b/pom.xml index f936524bc..6badcec16 100644 --- a/pom.xml +++ b/pom.xml @@ -42,13 +42,13 @@ org.sonatype.oss oss-parent - 7 + 9 org.apache.commons commons-lang3 - 3.5 + 3.14.0 org.yaml @@ -64,19 +64,19 @@ org.slf4j slf4j-api - 1.7.25 + 2.0.13 test org.slf4j slf4j-simple - 1.7.25 + 2.0.13 test junit junit - 4.12 + 4.13.2 test @@ -94,13 +94,13 @@ org.mockito mockito-core - 2.23.4 + 4.11.0 test commons-validator commons-validator - 1.6 + 1.8.0 test @@ -110,16 +110,16 @@ org.apache.maven.plugins maven-compiler-plugin - 3.7.0 + 3.13.0 - 1.6 - 1.6 + 1.8 + 1.8 org.eluder.coveralls coveralls-maven-plugin - 4.3.0 + 4.4.1 ${env.COVERALLS_TOKEN} diff --git a/src/test/java/com/github/javafaker/service/FakeValuesServiceTest.java b/src/test/java/com/github/javafaker/service/FakeValuesServiceTest.java index 85eb6715b..b52db9681 100644 --- a/src/test/java/com/github/javafaker/service/FakeValuesServiceTest.java +++ b/src/test/java/com/github/javafaker/service/FakeValuesServiceTest.java @@ -126,7 +126,7 @@ public void resolveKeyToPropertyWithAPropertyWithoutAnObject() { // then assertThat(actual, is("Yo!")); verify(dummy).hello(); - verifyZeroInteractions(faker); + verifyNoInteractions(faker); } @Test @@ -299,7 +299,7 @@ public void resolveUsingTheSameKeyTwice() { // then assertThat(actual, is("1 2")); - verifyZeroInteractions(faker); + verifyNoInteractions(faker); } @Test public void FakeValuesServiceWithNullLocaleTest(){