Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NET-5399] Add support for querying tokens by service name. #18690

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix missing test function reference.
  • Loading branch information
hashi-derek committed Sep 6, 2023
commit c093fb344f9a8249e9d0b46fe876538a96a46254
3 changes: 2 additions & 1 deletion api/acl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,8 @@ func TestAPI_ACLToken_ListFiltered(t *testing.T) {
ServiceName: "s",
AuthMethod: "a",
}, nil)
require.ErrorContains(t, err, "can only filter by one of")
require.NotNil(t, err)
require.Contains(t, err.Error(), "can only filter by one of")
}

func TestAPI_ACLToken_Clone(t *testing.T) {
Expand Down
Loading