Fix failing tests

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
Kristoffer Dalby 2023-01-17 20:41:39 +01:00 committed by Juan Font
parent 90287a6735
commit f19e8aa7f0
3 changed files with 5 additions and 5 deletions

View file

@ -3,7 +3,7 @@
{
"groups": {
"group:example": [
"testnamespace",
"testuser",
],
},

View file

@ -10,7 +10,7 @@
{
"action": "accept",
"src": [
"testnamespace",
"testuser",
],
"dst": [
"host-1:*",

View file

@ -363,7 +363,7 @@ func TestCheckForFQDNRules(t *testing.T) {
{
name: "invalid: too long name for user",
args: args{
name: "super-long-user-name-that-should-be-a-little-more-than-63-chars",
name: "super-long-useruseruser-name-that-should-be-a-little-more-than-63-chars",
},
wantErr: true,
},