aboutsummaryrefslogtreecommitdiffstats
path: root/it
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 /it
parent4a0b9cf0d15b79b16c55737ed4ed242bcac4c7f8 (diff)
downloadsonar-scanner-cli-631b2a61850bce96b3c6eddf267958be4b26dcc6.tar.gz
sonar-scanner-cli-631b2a61850bce96b3c6eddf267958be4b26dcc6.zip
NO-JIRA fixing version of base pom and integration tests (#132)
Diffstat (limited to 'it')
-rw-r--r--it/src/test/java/com/sonarsource/scanner/it/ScannerTestCase.java5
1 files changed, 1 insertions, 4 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")