MM-36084 - Certificate Auth: Remove SAML dependency in license check (#18113)

Этот коммит содержится в:
Maria A Nunez
2021-08-13 09:57:26 -04:00
коммит произвёл GitHub
родитель 16d8640072
Коммит d5e61e8093
3 изменённых файлов: 5 добавлений и 4 удалений

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

@@ -3601,7 +3601,7 @@ func TestCBALogin(t *testing.T) {
t.Run("primary", func(t *testing.T) {
th := Setup(t).InitBasic()
defer th.TearDown()
th.App.Srv().SetLicense(model.NewTestLicense("saml"))
th.App.Srv().SetLicense(model.NewTestLicense("future_features"))
th.App.UpdateConfig(func(cfg *model.Config) {
*cfg.ServiceSettings.EnableBotAccountCreation = true
@@ -3662,7 +3662,7 @@ func TestCBALogin(t *testing.T) {
t.Run("secondary", func(t *testing.T) {
th := Setup(t).InitBasic()
defer th.TearDown()
th.App.Srv().SetLicense(model.NewTestLicense("saml"))
th.App.Srv().SetLicense(model.NewTestLicense("future_features"))
th.App.UpdateConfig(func(cfg *model.Config) {
*cfg.ServiceSettings.EnableBotAccountCreation = true