mirror of
https://github.com/juanfont/headscale.git
synced 2024-12-25 01:07:52 +00:00
make preauthkey tags test stable
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
parent
4dd12a2f97
commit
4b58dc6eb4
@ -213,7 +213,9 @@ func TestPreAuthKeyCommand(t *testing.T) {
|
||||
continue
|
||||
}
|
||||
|
||||
assert.Equal(t, []string{"tag:test1", "tag:test2"}, listedPreAuthKeys[index].GetAclTags())
|
||||
tags := listedPreAuthKeys[index].GetAclTags()
|
||||
sort.Strings(tags)
|
||||
assert.Equal(t, []string{"tag:test1", "tag:test2"}, tags)
|
||||
}
|
||||
|
||||
// Test key expiry
|
||||
|
Loading…
x
Reference in New Issue
Block a user