Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
Signed-off-by: shubham <[email protected]>
  • Loading branch information
shubhamdixit863 committed Jun 10, 2024
1 parent 2e0f7dd commit 7e0fce7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1131,7 +1131,7 @@ metadata:
apiVersion: v1
data:
config.yaml: |-
logLevel: 1
logLevel: 3
includedResources: "group=apps,kind=Deployment;\
group=,kind=ConfigMap;group=,kind=Secret;group=,kind=ServiceAccount;\
group=rbac.authorization.k8s.io,kind=RoleBinding;group=rbac.authorization.k8s.io,kind=Role"
Expand Down
2 changes: 1 addition & 1 deletion internal/controller/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func TestLoadConfigMatchValues(t *testing.T) {
assert.NoError(t, err)

assert.Nil(t, err, "Failed to load configuration")
assert.Equal(t, 1, config.LogLevel, "Log Level does not match")
assert.Equal(t, 3, config.LogLevel, "Log Level does not match")
// now verify that if we modify the file, it will still be okay
originalFile := "../../../tests/config/testconfig.yaml"
fileToCopy := "../../../tests/config/testconfig2.yaml"
Expand Down

0 comments on commit 7e0fce7

Please sign in to comment.