fix: do not close store twice in tests

This commit is contained in:
Manuel de la Peña
2024-09-20 00:06:39 +02:00
parent 7bbad9a837
commit efbc89fea6
6 changed files with 1 additions and 8 deletions

View File

@@ -262,7 +262,6 @@ func Test_MYSQL_Non_UTF8(t *testing.T) {
func Test_MYSQL_Close(t *testing.T) {
testStore, err := newTestStore(t)
require.NoError(t, err)
defer testStore.Close()
require.Nil(t, testStore.Close())
}