diff options
-rw-r--r-- | it/src/test/java/com/sonarsource/scanner/it/ScannerTestCase.java | 5 | ||||
-rw-r--r-- | pom.xml | 2 |
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") @@ -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> |