mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-26 08:53:05 +00:00
Fix failing tests
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
parent
90287a6735
commit
f19e8aa7f0
3 changed files with 5 additions and 5 deletions
|
@ -3,7 +3,7 @@
|
||||||
{
|
{
|
||||||
"groups": {
|
"groups": {
|
||||||
"group:example": [
|
"group:example": [
|
||||||
"testnamespace",
|
"testuser",
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -23,4 +23,4 @@
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,11 +10,11 @@
|
||||||
{
|
{
|
||||||
"action": "accept",
|
"action": "accept",
|
||||||
"src": [
|
"src": [
|
||||||
"testnamespace",
|
"testuser",
|
||||||
],
|
],
|
||||||
"dst": [
|
"dst": [
|
||||||
"host-1:*",
|
"host-1:*",
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
|
@ -363,7 +363,7 @@ func TestCheckForFQDNRules(t *testing.T) {
|
||||||
{
|
{
|
||||||
name: "invalid: too long name for user",
|
name: "invalid: too long name for user",
|
||||||
args: args{
|
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,
|
wantErr: true,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue