Revert "MM-53879: Fix recursive loading of license (#24200)" (#24498)

This reverts commit dd73c2af0f.
Этот коммит содержится в:
Agniva De Sarker
2023-09-07 20:58:20 +05:30
коммит произвёл GitHub
родитель 01cf4b459f
Коммит acdfefe456
15 изменённых файлов: 165 добавлений и 31 удалений

Просмотреть файл

@@ -12,6 +12,14 @@ import (
"github.com/mattermost/mattermost/server/public/model"
)
func TestLoadLicense(t *testing.T) {
th := Setup(t)
defer th.TearDown()
th.Service.LoadLicense()
require.Nil(t, th.Service.License(), "shouldn't have a valid license")
}
func TestSaveLicense(t *testing.T) {
th := Setup(t)
defer th.TearDown()