From e630e0a8ed1f884d39b1d44551872189432abde7 Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Wed, 26 Jul 2017 15:57:11 +0100 Subject: [PATCH] udpate tests --- filemanager_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/filemanager_test.go b/filemanager_test.go index 6e94de6e..2fa524df 100644 --- a/filemanager_test.go +++ b/filemanager_test.go @@ -6,7 +6,7 @@ import ( "path/filepath" "testing" - "golang.org/x/net/webdav" + "github.com/hacdias/filemanager/dir" ) type test struct { @@ -28,13 +28,13 @@ func newTest(t *testing.T) *test { scope := filepath.Join(temp, "scope") database := filepath.Join(temp, "database.db") - err = copyDir("./testdata", scope) + err = dir.CopyDir("./testdata", scope) if err != nil { t.Fatalf("Error copying the test data: %v", err) } user := DefaultUser - user.FileSystem = webdav.Dir(scope) + user.FileSystem = dir.Dir(scope) fm, err := New(database, user)