Skip to content

Commit 2814d57

Browse files
committed
remove unwanted code
1 parent cfbeb27 commit 2814d57

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

internal/component/database_observability/postgres/component_test.go

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -164,16 +164,3 @@ func Test_enableOrDisableCollectors(t *testing.T) {
164164
}, actualCollectors)
165165
})
166166
}
167-
168-
func Test_DisableQueryRedaction(t *testing.T) {
169-
t.Run("disable_query_redaction defaults to false", func(t *testing.T) {
170-
exampleDBO11yAlloyConfig := `
171-
data_source_name = "postgres://db"
172-
forward_to = []
173-
`
174-
175-
var args Arguments
176-
err := syntax.Unmarshal([]byte(exampleDBO11yAlloyConfig), &args)
177-
require.NoError(t, err)
178-
})
179-
}

0 commit comments

Comments
 (0)