Browse Source

NO-JIRA fixing version of base pom and integration tests (#132)

tags/4.8.0.2856
lukasz-jarocki-sonarsource 1 year ago
parent
commit
631b2a6185
No account linked to committer's email address
2 changed files with 2 additions and 5 deletions
  1. 1
    4
      it/src/test/java/com/sonarsource/scanner/it/ScannerTestCase.java
  2. 1
    1
      pom.xml

+ 1
- 4
it/src/test/java/com/sonarsource/scanner/it/ScannerTestCase.java View 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")

+ 1
- 1
pom.xml View File

@@ -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>

Loading…
Cancel
Save