mirror of
https://github.com/juanfont/headscale.git
synced 2025-04-30 01:19:47 +02:00
fix last test
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
parent
407e076ea6
commit
bfe7546b72
@ -1794,11 +1794,6 @@ func TestPolicyCommand(t *testing.T) {
|
||||
|
||||
assert.Len(t, output.TagOwners, 1)
|
||||
assert.Len(t, output.ACLs, 1)
|
||||
if usePolicyV2ForTest {
|
||||
assert.Equal(t, output.TagOwners["tag:exists"], []string{"user1@"})
|
||||
} else {
|
||||
assert.Equal(t, output.TagOwners["tag:exists"], []string{"user1"})
|
||||
}
|
||||
}
|
||||
|
||||
func TestPolicyBrokenConfigCommand(t *testing.T) {
|
||||
|
Loading…
Reference in New Issue
Block a user