Skip to content

Commit

Permalink
Fix failing tests
Browse files Browse the repository at this point in the history
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
  • Loading branch information
kradalby authored and juanfont committed Jan 18, 2023
1 parent 90287a6 commit f19e8aa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions tests/acls/acl_policy_basic_groups.hujson
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"groups": {
"group:example": [
"testnamespace",
"testuser",
],
},

Expand All @@ -23,4 +23,4 @@
],
},
],
}
}
4 changes: 2 additions & 2 deletions tests/acls/acl_policy_basic_user_as_user.hujson
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
{
"action": "accept",
"src": [
"testnamespace",
"testuser",
],
"dst": [
"host-1:*",
],
},
],
}
}
2 changes: 1 addition & 1 deletion users_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down

0 comments on commit f19e8aa

Please sign in to comment.