mirror of
https://github.com/gofiber/storage.git
synced 2025-10-05 16:48:25 +08:00
🩹 update tests
This commit is contained in:
@@ -95,7 +95,7 @@ func Test_MongoDB_Delete(t *testing.T) {
|
||||
utils.AssertEqual(t, true, len(result) == 0)
|
||||
}
|
||||
|
||||
func Test_MongoDB_Clear(t *testing.T) {
|
||||
func Test_MongoDB_Reset(t *testing.T) {
|
||||
var (
|
||||
val = []byte("doe")
|
||||
)
|
||||
@@ -117,3 +117,7 @@ func Test_MongoDB_Clear(t *testing.T) {
|
||||
utils.AssertEqual(t, ErrNotExist, err)
|
||||
utils.AssertEqual(t, true, len(result) == 0)
|
||||
}
|
||||
|
||||
func Test_MongoDB_Close(t *testing.T) {
|
||||
utils.AssertEqual(t, nil, testStore.Close())
|
||||
}
|
||||
|
Reference in New Issue
Block a user