aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlukasz-jarocki-sonarsource <77498856+lukasz-jarocki-sonarsource@users.noreply.github.com>2022-09-29 15:08:05 +0200
committerGitHub <noreply@github.com>2022-09-29 15:08:05 +0200
commit631b2a61850bce96b3c6eddf267958be4b26dcc6 (patch)
tree21bfed1a0259366aa168f2ff05115307bc156740
parent4a0b9cf0d15b79b16c55737ed4ed242bcac4c7f8 (diff)
downloadsonar-scanner-cli-631b2a61850bce96b3c6eddf267958be4b26dcc6.tar.gz
sonar-scanner-cli-631b2a61850bce96b3c6eddf267958be4b26dcc6.zip
NO-JIRA fixing version of base pom and integration tests (#132)
-rw-r--r--it/src/test/java/com/sonarsource/scanner/it/ScannerTestCase.java5
-rw-r--r--pom.xml2
2 files changed, 2 insertions, 5 deletions
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 @@
<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>