Merge pull request #208 from alexgridx/23-fixes-testing

#23 fixes context in tests
This commit is contained in:
Alex 2024-09-20 11:39:19 +02:00 committed by GitHub
commit f06e2c2d63
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -152,7 +152,7 @@ func TestCheckpoint_Get_NoRows(t *testing.T) {
if err := mock.ExpectationsWereMet(); err != nil {
t.Errorf("there were unfulfilled expectations: %s", err)
}
_ = ck.Shutdown()
_ = ck.Shutdown(ctx)
}
func TestCheckpoint_Get_QueryError(t *testing.T) {

View file

@ -1,4 +1,4 @@
// go:build unit
//go:build unit
package redis