Skip to content

Commit

Permalink
chore: fix to the test case and other refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
pranav-new-relic committed Oct 11, 2023
1 parent 047ffce commit aeec4a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/entities/entity_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func TestIntegrationSearchEntities(t *testing.T) {
)

require.NoError(t, err)
require.Equal(t, len(actual.Results.Entities), 0)
require.Greater(t, len(actual.Results.Entities), 0)
}

func TestIntegrationSearchEntitiesByQuery(t *testing.T) {
Expand Down
2 changes: 2 additions & 0 deletions pkg/entities/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -16041,6 +16041,8 @@ type entitySearchResponse struct {
type AgentApplicationSettingsErrorCollectorHttpStatus string

// AgentApplicationSettingsRawJsConfiguration - The "raw" configuration values for configuring the javascript client.
// NOTE: Datatype "string" generated by Tutone manually changed to "map[string]interface{}" as this is a JSON, but fetched
// as a string as the equivalent attribute on NerdGraph `jsConfig` is a string and has no nested attributes. Kindly DO NOT modify.
type AgentApplicationSettingsRawJsConfiguration map[string]interface{}

// AgentTracesExplainPlanRow - This scalar represents a explain plan row (list of values)
Expand Down

0 comments on commit aeec4a4

Please sign in to comment.