mirror of
https://github.com/gofiber/storage.git
synced 2025-10-05 16:48:25 +08:00
fix: forgot to close mysql store in test
This commit is contained in:
@@ -82,7 +82,7 @@ func Test_MYSQL_New(t *testing.T) {
|
||||
})
|
||||
|
||||
require.True(t, newConfigStore.db != nil)
|
||||
// no need to close the newConfigStore since the testStore is called in the defer
|
||||
defer newConfigStore.Close()
|
||||
}
|
||||
|
||||
func Test_MYSQL_Set(t *testing.T) {
|
||||
|
Reference in New Issue
Block a user