diff options
Diffstat (limited to 'app/license_test.go')
-rw-r--r-- | app/license_test.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/license_test.go b/app/license_test.go index 376972b2b..632034b11 100644 --- a/app/license_test.go +++ b/app/license_test.go @@ -12,6 +12,7 @@ import ( func TestLoadLicense(t *testing.T) { th := Setup() + defer th.TearDown() th.App.LoadLicense() if utils.IsLicensed() { @@ -21,6 +22,7 @@ func TestLoadLicense(t *testing.T) { func TestSaveLicense(t *testing.T) { th := Setup() + defer th.TearDown() b1 := []byte("junk") @@ -31,6 +33,7 @@ func TestSaveLicense(t *testing.T) { func TestRemoveLicense(t *testing.T) { th := Setup() + defer th.TearDown() if err := th.App.RemoveLicense(); err != nil { t.Fatal("should have removed license") |