Merge branch 'policy-get-account-refactoring' into dns-get-account-refactoring

This commit is contained in:
bcmmbaga
2024-11-25 19:17:38 +03:00
53 changed files with 1176 additions and 470 deletions

View File

@@ -1832,6 +1832,8 @@ func TestSqlStore_SavePolicy(t *testing.T) {
policy.Enabled = false
policy.Description = "policy"
policy.Rules[0].Sources = []string{"group"}
policy.Rules[0].Ports = []string{"80", "443"}
err = store.SavePolicy(context.Background(), LockingStrengthUpdate, policy)
require.NoError(t, err)