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

This commit is contained in:
bcmmbaga
2024-11-25 19:20:53 +03:00
54 changed files with 1177 additions and 471 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)