summaryrefslogtreecommitdiffstats
path: root/api/file_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/file_test.go')
-rw-r--r--api/file_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/api/file_test.go b/api/file_test.go
index c3ece7199..4a3eaebfb 100644
--- a/api/file_test.go
+++ b/api/file_test.go
@@ -43,7 +43,7 @@ func TestUploadFile(t *testing.T) {
t.Fatal(err)
}
- path := utils.FindDir("web/static/images")
+ path := utils.FindDir("tests")
file, err := os.Open(path + "/test.png")
defer file.Close()
@@ -159,7 +159,7 @@ func TestGetFile(t *testing.T) {
t.Fatal(err)
}
- path := utils.FindDir("web/static/images")
+ path := utils.FindDir("tests")
file, err := os.Open(path + "/test.png")
if err != nil {
t.Fatal(err)
@@ -342,7 +342,7 @@ func TestGetPublicLink(t *testing.T) {
t.Fatal(err)
}
- path := utils.FindDir("web/static/images")
+ path := utils.FindDir("tests")
file, err := os.Open(path + "/test.png")
if err != nil {
t.Fatal(err)