Skip to content

Commit d95f987

Browse files
beccajellinekclaude
andcommitted
Fix test: use TimeseriesRequestStyle instead of WidgetRequestStyle
Update DashboardsApiTest to use the new TimeseriesRequestStyle type for timeseries widget requests. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 3ec3740 commit d95f987

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/test/java/com/datadog/api/client/v1/api/DashboardsApiTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ public void dashboardLifecycleTest() throws ApiException {
552552
new TimeseriesWidgetRequest()
553553
.q("avg:system.load.1{*}")
554554
.style(
555-
new WidgetRequestStyle()
555+
new TimeseriesRequestStyle()
556556
.palette("dog_classic")
557557
.lineType(WidgetLineType.DASHED)
558558
.lineWidth(WidgetLineWidth.THICK))
@@ -614,7 +614,7 @@ public void dashboardLifecycleTest() throws ApiException {
614614
.limit(10L)
615615
.searchBy("editor"))
616616
.style(
617-
new WidgetRequestStyle()
617+
new TimeseriesRequestStyle()
618618
.palette("dog_classic")
619619
.lineType(WidgetLineType.DASHED)
620620
.lineWidth(WidgetLineWidth.THICK))
@@ -673,7 +673,7 @@ public void dashboardLifecycleTest() throws ApiException {
673673
.aggregation("count")
674674
.order(WidgetSort.ASCENDING))))
675675
.style(
676-
new WidgetRequestStyle()
676+
new TimeseriesRequestStyle()
677677
.palette("dog_classic")
678678
.lineType(WidgetLineType.DASHED)
679679
.lineWidth(WidgetLineWidth.THICK))
@@ -731,7 +731,7 @@ public void dashboardLifecycleTest() throws ApiException {
731731
.aggregation("count")
732732
.order(WidgetSort.ASCENDING))))
733733
.style(
734-
new WidgetRequestStyle()
734+
new TimeseriesRequestStyle()
735735
.palette("dog_classic")
736736
.lineType(WidgetLineType.DASHED)
737737
.lineWidth(WidgetLineWidth.THICK))

0 commit comments

Comments
 (0)