working commit
This commit is contained in:
+2
-1
@@ -21,6 +21,7 @@ import (
|
||||
|
||||
"mstore/app/server"
|
||||
"mstore/pkg/client"
|
||||
"mstore/pkg/terms"
|
||||
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
@@ -132,7 +133,7 @@ func TestFileLife(t *testing.T) {
|
||||
ctx := context.Background()
|
||||
ctx, _ = context.WithTimeout(ctx, 1*time.Second)
|
||||
|
||||
files, err := cli.ListFiles(ctx, srvaddr+"/")
|
||||
files, err := cli.ListFiles(ctx, srvaddr+"/", terms.AsFinePath)
|
||||
require.NoError(t, err)
|
||||
require.NotZero(t, len(files))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user