коммит произвёл
GitHub
родитель
f290745496
Коммит
c3ed07e679
@@ -316,7 +316,7 @@ func TestPatchRole(t *testing.T) {
|
||||
|
||||
t.Run("Check guest permissions editing without E20 license", func(t *testing.T) {
|
||||
license := model.NewTestLicense()
|
||||
license.Features.GuestAccountsPermissions = model.NewBool(false)
|
||||
license.Features.GuestAccountsPermissions = model.NewPointer(false)
|
||||
th.App.Srv().SetLicense(license)
|
||||
|
||||
guestRole, err := th.App.Srv().Store().Role().GetByName(context.Background(), "system_guest")
|
||||
@@ -328,7 +328,7 @@ func TestPatchRole(t *testing.T) {
|
||||
|
||||
t.Run("Check guest permissions editing with E20 license", func(t *testing.T) {
|
||||
license := model.NewTestLicense()
|
||||
license.Features.GuestAccountsPermissions = model.NewBool(true)
|
||||
license.Features.GuestAccountsPermissions = model.NewPointer(true)
|
||||
th.App.Srv().SetLicense(license)
|
||||
guestRole, err := th.App.Srv().Store().Role().GetByName(context.Background(), "system_guest")
|
||||
require.NoError(t, err)
|
||||
|
||||
Ссылка в новой задаче
Block a user