diff options
author | Chris <ccbrown112@gmail.com> | 2018-02-06 17:25:49 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-06 17:25:49 -0600 |
commit | 1ec295f88ca99e9423ffd91019cecf802ae3dc77 (patch) | |
tree | 05abc364fefdc6b1088bfb4a307ba11db0dc427f /app/license_test.go | |
parent | 034dbc07e3068c482e654b6a1a8fcbe4b01c44f3 (diff) | |
download | chat-1ec295f88ca99e9423ffd91019cecf802ae3dc77.tar.gz chat-1ec295f88ca99e9423ffd91019cecf802ae3dc77.tar.bz2 chat-1ec295f88ca99e9423ffd91019cecf802ae3dc77.zip |
add App.License, remove utils.IsLicensed / utils.License calls (#8203)
Diffstat (limited to 'app/license_test.go')
-rw-r--r-- | app/license_test.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/license_test.go b/app/license_test.go index 632034b11..5b73d9d18 100644 --- a/app/license_test.go +++ b/app/license_test.go @@ -6,8 +6,6 @@ package app import ( //"github.com/mattermost/mattermost-server/model" "testing" - - "github.com/mattermost/mattermost-server/utils" ) func TestLoadLicense(t *testing.T) { @@ -15,7 +13,7 @@ func TestLoadLicense(t *testing.T) { defer th.TearDown() th.App.LoadLicense() - if utils.IsLicensed() { + if th.App.License() != nil { t.Fatal("shouldn't have a valid license") } } |