Cleanup related to context refactor (#9988)

This commit is contained in:
Christopher Speller
2018-12-17 08:51:46 -08:00
committed by GitHub
parent 829f183bb0
commit 8429add371
55 changed files with 1027 additions and 949 deletions

View File

@@ -9,11 +9,11 @@ import (
"os"
"path/filepath"
"github.com/mattermost/mattermost-server/utils"
"github.com/mattermost/mattermost-server/utils/fileutils"
)
func ReadTestFile(name string) ([]byte, error) {
path, _ := utils.FindDir("tests")
path, _ := fileutils.FindDir("tests")
file, err := os.Open(filepath.Join(path, name))
if err != nil {
return nil, err