1
0
mirror of https://github.com/juanfont/headscale.git synced 2025-07-22 13:48:40 +02:00

db: update test with v1 removal

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
Kristoffer Dalby 2025-05-14 15:12:17 +02:00
parent 10e79d3cfa
commit d2fc059357
No known key found for this signature in database
2 changed files with 2 additions and 3 deletions

View File

@ -435,8 +435,7 @@ func TestAutoApproveRoutes(t *testing.T) {
for _, tt := range tests {
pmfs := policy.PolicyManagerFuncsForTest([]byte(tt.acl))
for i, pmf := range pmfs {
version := i + 1
t.Run(fmt.Sprintf("%s-policyv%d", tt.name, version), func(t *testing.T) {
t.Run(fmt.Sprintf("%s-policy-index%d", tt.name, i), func(t *testing.T) {
adb, err := newSQLiteTestDB()
require.NoError(t, err)

View File

@ -263,7 +263,7 @@ func Test_fullMapResponse(t *testing.T) {
// {
// name: "empty-node",
// node: types.Node{},
// pol: &policyv1.ACLPolicy{},
// pol: &policyv2.Policy{},
// dnsConfig: &tailcfg.DNSConfig{},
// baseDomain: "",
// want: nil,