pull/508/head
hunterlong 2020-04-17 00:21:59 -07:00
parent 85d0572972
commit b3a7684d64
2 changed files with 2 additions and 1 deletions

View File

@ -17,7 +17,7 @@ func TestThemeRoutes(t *testing.T) {
ExpectedContains: []string{`"status":"success"`},
BeforeTest: SetTestENV,
AfterTest: func(t *testing.T) error {
assert.True(t, source.UsingAssets(utils.Directory))
assert.True(t, source.UsingAssets(utils.Params.GetString("STATPING_DIR")))
return nil
},
},

View File

@ -16,6 +16,7 @@ func init() {
utils.InitLogs()
Assets()
utils.DeleteDirectory(dir + "/assets")
dir = utils.Params.GetString("STATPING_DIR")
}
func TestCore_UsingAssets(t *testing.T) {