mirror of
https://github.com/gofiber/storage.git
synced 2025-10-05 16:48:25 +08:00
fix: do not close store twice in tests
This commit is contained in:
@@ -186,7 +186,6 @@ func Test_MongoDB_Reset(t *testing.T) {
|
||||
func Test_MongoDB_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