internal/handlers: fix some comments

pull/4202/head
Johan Brandhorst-Satzkorn 2 years ago
parent 7190042f8e
commit 597ac645b2

@ -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,

Loading…
Cancel
Save