mirror of
https://github.com/gofiber/storage.git
synced 2025-10-05 08:37:10 +08:00
fix: do not close store twice in tests
This commit is contained in:
@@ -257,7 +257,6 @@ func Test_Postgres_Conn(t *testing.T) {
|
||||
func Test_Postgres_Close(t *testing.T) {
|
||||
testStore, err := newTestStore(t)
|
||||
require.NoError(t, err)
|
||||
defer testStore.Close()
|
||||
|
||||
require.Nil(t, testStore.Close())
|
||||
}
|
||||
|
Reference in New Issue
Block a user