Skip to content

Commit

Permalink
fix(): test compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Skraye committed Aug 1, 2024
1 parent b2e09e5 commit 2cee454
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import io.kestra.core.models.executions.statistics.DailyExecutionStatistics;
import io.kestra.core.models.executions.statistics.LogStatistics;
import io.kestra.core.repositories.ExecutionRepositoryInterface;
import io.kestra.webserver.controllers.api.StatsController;
import io.kestra.webserver.controllers.h2.JdbcH2ControllerTest;
import io.micronaut.core.type.Argument;
import io.micronaut.http.HttpRequest;
Expand All @@ -16,7 +15,6 @@

import java.time.ZonedDateTime;
import java.util.List;
import java.util.Map;

import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.notNullValue;
Expand All @@ -31,7 +29,7 @@ class StatsControllerTest extends JdbcH2ControllerTest {
void dailyStatistics() {
var dailyStatistics = client.toBlocking().retrieve(
HttpRequest
.POST("/api/v1/stats/executions/daily", new StatsController.StatisticRequest(null, null, null, ZonedDateTime.now().minusDays(1), ZonedDateTime.now()))
.POST("/api/v1/stats/executions/daily", new StatsController.StatisticRequest(null, null, null, ZonedDateTime.now().minusDays(1), ZonedDateTime.now(), null))
.contentType(MediaType.APPLICATION_JSON),
Argument.listOf(DailyExecutionStatistics.class)
);
Expand Down

0 comments on commit 2cee454

Please sign in to comment.