From eb1a00ef5f93b19c2d49b26de057ee2c51c09e45 Mon Sep 17 00:00:00 2001 From: Chris Date: Thu, 16 Nov 2017 15:04:27 -0600 Subject: Reorganize file util functionality (#7848) * reorganize file util functionality * fix api test compilation * fix rebase issue --- api/file_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api/file_test.go') diff --git a/api/file_test.go b/api/file_test.go index 8b04c732c..8e5fc6f67 100644 --- a/api/file_test.go +++ b/api/file_test.go @@ -849,7 +849,7 @@ func TestGetInfoForFilename(t *testing.T) { date := time.Now().Format("20060102") - if info := app.GetInfoForFilename(post1, team1.Id, post1.Filenames[0]); info == nil { + if info := th.App.GetInfoForFilename(post1, team1.Id, post1.Filenames[0]); info == nil { t.Fatal("info shouldn't be nil") } else if info.Id == "" { t.Fatal("info.Id shouldn't be empty") -- cgit v1.2.3-1-g7c22