From: lukasz-jarocki-sonarsource <77498856+lukasz-jarocki-sonarsource@users.noreply.github.com> Date: Thu, 29 Sep 2022 13:08:05 +0000 (+0200) Subject: NO-JIRA fixing version of base pom and integration tests (#132) X-Git-Tag: 4.8.0.2856~14 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=631b2a61850bce96b3c6eddf267958be4b26dcc6;p=sonar-scanner-cli.git NO-JIRA fixing version of base pom and integration tests (#132) --- diff --git a/it/src/test/java/com/sonarsource/scanner/it/ScannerTestCase.java b/it/src/test/java/com/sonarsource/scanner/it/ScannerTestCase.java index 4f45f66..5804639 100644 --- a/it/src/test/java/com/sonarsource/scanner/it/ScannerTestCase.java +++ b/it/src/test/java/com/sonarsource/scanner/it/ScannerTestCase.java @@ -94,13 +94,10 @@ public abstract class ScannerTestCase { @After public void resetData() { - // We add one day to ensure that today's entries are deleted. - Instant instant = Instant.now().plus(1, ChronoUnit.DAYS); - // The expected format is yyyy-MM-dd. String currentDateTime = DateTimeFormatter.ISO_LOCAL_DATE .withZone(ZoneId.of("UTC")) - .format(instant); + .format(Instant.now()); orchestrator.getServer() .newHttpCall("/api/projects/bulk_delete") diff --git a/pom.xml b/pom.xml index 5867212..ea114a5 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ org.sonarsource.parent parent - 61.0.147 + 63.0.187 org.sonarsource.scanner.cli