internal/handlers: fix some comments

This commit is contained in:
Johan Brandhorst-Satzkorn committed 2024-01-05 07:43:21 -08:00
1 parent 7190042f8e
commit 597ac645b2
2 files changed
+10 -10

No files matched your search

@@ -1581,7 +1581,7 @@ func TestListPagination(t *testing.T) {
got, err := s.ListCredentials(ctx, req)
require.NoError(err)
require.Len(got.GetItems(), 2)
// Compare without comparing the refresh token
// Compare without comparing the list token
assert.Empty(
cmp.Diff(
got,
@@ -1607,7 +1607,7 @@ func TestListPagination(t *testing.T) {
got, err = s.ListCredentials(ctx, req)
require.NoError(err)
require.Len(got.GetItems(), 2)
// Compare without comparing the refresh token
// Compare without comparing the list token
assert.Empty(
cmp.Diff(
got,
@@ -1634,7 +1634,7 @@ func TestListPagination(t *testing.T) {
got, err = s.ListCredentials(ctx, req)
require.NoError(err)
require.Len(got.GetItems(), 11)
// Compare without comparing the refresh token
// Compare without comparing the list token
assert.Empty(
cmp.Diff(
got,
@@ -1702,7 +1702,7 @@ func TestListPagination(t *testing.T) {
got, err = s.ListCredentials(ctx, req)
require.NoError(err)
assert.Len(got.GetItems(), 1)
// Compare without comparing the refresh token
// Compare without comparing the list token
assert.Empty(
cmp.Diff(
got,
@@ -1812,7 +1812,7 @@ func TestListPagination(t *testing.T) {
got, err = s.ListCredentials(ctx, req)
require.NoError(err)
require.Len(got.GetItems(), 0)
// Compare without comparing the refresh token
// Compare without comparing the list token
assert.Empty(
cmp.Diff(
got,
@@ -1739,7 +1739,7 @@ func TestListPagination(t *testing.T) {
got, err := s.ListCredentialStores(ctx, req)
require.NoError(err)
require.Len(got.GetItems(), 2)
// Compare without comparing the refresh token
// Compare without comparing the list token
assert.Empty(
cmp.Diff(
got,
@@ -1768,7 +1768,7 @@ func TestListPagination(t *testing.T) {
got, err = s.ListCredentialStores(ctx, req)
require.NoError(err)
require.Len(got.GetItems(), 2)
// Compare without comparing the refresh token
// Compare without comparing the list token
assert.Empty(
cmp.Diff(
got,
@@ -1798,7 +1798,7 @@ func TestListPagination(t *testing.T) {
got, err = s.ListCredentialStores(ctx, req)
require.NoError(err)
require.Len(got.GetItems(), 6)
// Compare without comparing the refresh token
// Compare without comparing the list token
assert.Empty(
cmp.Diff(
got,
@@ -1864,7 +1864,7 @@ func TestListPagination(t *testing.T) {
got, err = s.ListCredentialStores(ctx, req)
require.NoError(err)
require.Len(got.GetItems(), 1)
// Compare without comparing the refresh token
// Compare without comparing the list token
assert.Empty(
cmp.Diff(
got,
@@ -1986,7 +1986,7 @@ func TestListPagination(t *testing.T) {
got, err = s.ListCredentialStores(ctx, req)
require.NoError(err)
require.Len(got.GetItems(), 0)
// Compare without comparing the refresh token
// Compare without comparing the list token
assert.Empty(
cmp.Diff(
got,