From f19e8aa7f02609c9500ba17a60abc8ad57bc2afd Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Tue, 17 Jan 2023 20:41:39 +0100 Subject: [PATCH] Fix failing tests Signed-off-by: Kristoffer Dalby --- tests/acls/acl_policy_basic_groups.hujson | 4 ++-- tests/acls/acl_policy_basic_user_as_user.hujson | 4 ++-- users_test.go | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/acls/acl_policy_basic_groups.hujson b/tests/acls/acl_policy_basic_groups.hujson index ecfcbfd1..a99568ad 100644 --- a/tests/acls/acl_policy_basic_groups.hujson +++ b/tests/acls/acl_policy_basic_groups.hujson @@ -3,7 +3,7 @@ { "groups": { "group:example": [ - "testnamespace", + "testuser", ], }, @@ -23,4 +23,4 @@ ], }, ], -} \ No newline at end of file +} diff --git a/tests/acls/acl_policy_basic_user_as_user.hujson b/tests/acls/acl_policy_basic_user_as_user.hujson index 9a553b08..0009364c 100644 --- a/tests/acls/acl_policy_basic_user_as_user.hujson +++ b/tests/acls/acl_policy_basic_user_as_user.hujson @@ -10,11 +10,11 @@ { "action": "accept", "src": [ - "testnamespace", + "testuser", ], "dst": [ "host-1:*", ], }, ], -} \ No newline at end of file +} diff --git a/users_test.go b/users_test.go index b96fbbe6..144c3337 100644 --- a/users_test.go +++ b/users_test.go @@ -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, },