]> source.dussan.org Git - sonar-scanner-cli.git/commitdiff
NO-JIRA fixing version of base pom and integration tests (#132)
authorlukasz-jarocki-sonarsource <77498856+lukasz-jarocki-sonarsource@users.noreply.github.com>
Thu, 29 Sep 2022 13:08:05 +0000 (15:08 +0200)
committerGitHub <noreply@github.com>
Thu, 29 Sep 2022 13:08:05 +0000 (15:08 +0200)
it/src/test/java/com/sonarsource/scanner/it/ScannerTestCase.java
pom.xml

index 4f45f66638a113f2bd7ff2b7a5823e4c3ad8c21b..580463945eab83c42afaeb9871273d440f1a9e96 100644 (file)
@@ -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 586721247c7f9b9454411972b1f9ce1c55259b0c..ea114a588aa1a4f754f274ccf05dc03feeaefe80 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -3,7 +3,7 @@
   <parent>
     <groupId>org.sonarsource.parent</groupId>
     <artifactId>parent</artifactId>
-    <version>61.0.147</version>
+    <version>63.0.187</version>
   </parent>
 
   <groupId>org.sonarsource.scanner.cli</groupId>