Skip to content

Commit

Permalink
fix: dont reset to false (#2965)
Browse files Browse the repository at this point in the history
  • Loading branch information
CaptainStandby committed Dec 18, 2022
1 parent 7248636 commit ae8ad7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions driver/config/config_test.go
Expand Up @@ -1041,8 +1041,8 @@ func TestIdentitySchemaValidation(t *testing.T) {
for !success {
for _, v := range hook.AllEntries() {
s, err := v.String()
assert.NoErrorf(t, err, "Unexpected Error")
success = strings.Contains(s, "The changed identity schema configuration is invalid and could not be loaded.")
require.NoError(t, err)
success = success || strings.Contains(s, "The changed identity schema configuration is invalid and could not be loaded.")
}

select {
Expand Down

0 comments on commit ae8ad7b

Please sign in to comment.