Skip to content

Commit

Permalink
increase coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
JarekKa committed Dec 12, 2023
1 parent ec8385f commit de27dca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions driver/configuration/provider_koanf_public_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,9 @@ func TestToScopesValidation(t *testing.T) {
assert.Nil(t, p.ToScopesValidation("default", "foo")(map[string]bool{"foo": true}))
assert.NotNil(t, p.ToScopesValidation("default", "foo")(map[string]bool{"foo": true, "bar": false}))
assert.Nil(t, p.ToScopesValidation("any", "foo")(map[string]bool{"foo": true, "bar": false}))
assert.NotNil(t, p.ToScopesValidation("any", "foo")(map[string]bool{}))
assert.NotNil(t, p.ToScopesValidation("whatever", "foo")(map[string]bool{"foo": true, "bar": false}))

}

func TestToScopeStrategy(t *testing.T) {
Expand Down

0 comments on commit de27dca

Please sign in to comment.