Skip to content

Commit

Permalink
feat(dashboard): update test file
Browse files Browse the repository at this point in the history
  • Loading branch information
vagrawal-newrelic committed Dec 17, 2024
1 parent 15dfd83 commit 7cb7bce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions pkg/dashboards/dashboards_api_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ func TestIntegrationDashboard_LinkedEntities(t *testing.T) {
Bar: &DashboardBarWidgetConfigurationInput{
NRQLQueries: []DashboardWidgetNRQLQueryInput{
{
AccountID: testAccountID,
AccountIDS: [testAccountID],

Check failure on line 190 in pkg/dashboards/dashboards_api_integration_test.go

View workflow job for this annotation

GitHub Actions / test-integration

expected type, found ','

Check failure on line 190 in pkg/dashboards/dashboards_api_integration_test.go

View workflow job for this annotation

GitHub Actions / test-integration

expected type, found ','

Check failure on line 190 in pkg/dashboards/dashboards_api_integration_test.go

View workflow job for this annotation

GitHub Actions / test-integration

expected type, found ','
Query: "FROM Transaction SELECT average(duration) FACET appName",
},
},
Expand Down Expand Up @@ -245,7 +245,7 @@ func TestIntegrationDashboard_InvalidInput(t *testing.T) {
Bar: &DashboardBarWidgetConfigurationInput{
NRQLQueries: []DashboardWidgetNRQLQueryInput{
{
AccountID: testAccountID,
AccountIDS: [testAccountID],
Query: "This is bad NRQL input",
},
},
Expand Down
6 changes: 3 additions & 3 deletions pkg/dashboards/dashboards_widgets_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func TestIntegrationDashboard_Billboard(t *testing.T) {
Billboard: &DashboardBillboardWidgetConfigurationInput{
NRQLQueries: []DashboardWidgetNRQLQueryInput{
{
AccountID: testAccountID,
AccountIDS: [testAccountID],
Query: "FROM Metric SELECT 1",
},
},
Expand Down Expand Up @@ -99,7 +99,7 @@ func TestIntegrationDashboard_Billboard(t *testing.T) {
Billboard: &DashboardBillboardWidgetConfigurationInput{
NRQLQueries: []DashboardWidgetNRQLQueryInput{
{
AccountID: testAccountID,
AccountIDS: [testAccountID],
Query: "FROM Metric SELECT 1",
},
},
Expand Down Expand Up @@ -206,7 +206,7 @@ func TestIntegrationDashboard_EmptyPage(t *testing.T) {
Billboard: &DashboardBillboardWidgetConfigurationInput{
NRQLQueries: []DashboardWidgetNRQLQueryInput{
{
AccountID: testAccountID,
AccountIDS: [testAccountID],
Query: "FROM Metric SELECT 1",
},
},
Expand Down

0 comments on commit 7cb7bce

Please sign in to comment.