summaryrefslogtreecommitdiffstats
path: root/api/user_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/user_test.go')
-rw-r--r--api/user_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/user_test.go b/api/user_test.go
index d9234d356..484cf6495 100644
--- a/api/user_test.go
+++ b/api/user_test.go
@@ -747,7 +747,7 @@ func TestUserUploadProfileImage(t *testing.T) {
t.Fatal(err)
}
- path := utils.FindDir("tests")
+ path, _ := utils.FindDir("tests")
file, err := os.Open(path + "/test.png")
if err != nil {
t.Fatal(err)