mirror of
https://github.com/gofiber/storage.git
synced 2025-10-06 00:57:38 +08:00
test couchbase reset test for doc not found
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package couchbase
|
||||
|
||||
import (
|
||||
"strings"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
@@ -104,9 +103,7 @@ func TestSetAndReset_ResetShouldReturn_NoError(t *testing.T) {
|
||||
utils.AssertEqual(t, nil, err)
|
||||
|
||||
_, err = testStorage.Get("test")
|
||||
errStr := err.Error()
|
||||
|
||||
utils.AssertEqual(t, true, strings.Contains(errStr, "document not found"))
|
||||
utils.AssertEqual(t, nil, err)
|
||||
}
|
||||
|
||||
func TestClose_CloseShouldReturn_NoError(t *testing.T) {
|
||||
|
Reference in New Issue
Block a user