Fixed SQL Server state store integration tests (#324) (#325)

This commit is contained in:
Brooke Hamilton 2020-05-18 12:40:26 -04:00 committed by GitHub
parent b647397b2c
commit 909739702e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ func assertLoadedUserIsEqual(t *testing.T, store *SQLServer, key string, expecte
func assertUserDoesNotExist(t *testing.T, store *SQLServer, key string) {
_, err := store.Get(&state.GetRequest{Key: key})
assert.NotNil(t, err)
assert.Nil(t, err)
}
func assertDBQuery(t *testing.T, store *SQLServer, query string, assertReader func(t *testing.T, rows *sql.Rows)) {