mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-30 02:43:05 +00:00
make preauthkey tags test stable
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
parent
b65d6890a3
commit
cc52dff76f
1 changed files with 3 additions and 1 deletions
|
@ -212,7 +212,9 @@ func TestPreAuthKeyCommand(t *testing.T) {
|
|||
continue
|
||||
}
|
||||
|
||||
assert.Equal(t, listedPreAuthKeys[index].GetAclTags(), []string{"tag:test1", "tag:test2"})
|
||||
tags := listedPreAuthKeys[index].GetAclTags()
|
||||
sort.Strings(tags)
|
||||
assert.Equal(t, []string{"tag:test1", "tag:test2"}, tags)
|
||||
}
|
||||
|
||||
// Test key expiry
|
||||
|
|
Loading…
Reference in a new issue