Skip to content

Commit d817adb

Browse files
committed
fixup! test: Fix user pagination unit test
1 parent dcac12c commit d817adb

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

coderd/users_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -692,8 +692,6 @@ func assertPagination(ctx context.Context, t *testing.T, client *codersdk.Client
692692
func sortUsers(users []codersdk.User) {
693693
sort.Slice(users, func(i, j int) bool {
694694
if users[i].CreatedAt.Equal(users[j].CreatedAt) {
695-
// Technically the postgres database also orders by uuid. So match
696-
// that behavior
697695
return users[i].ID.String() < users[j].ID.String()
698696
}
699697
return users[i].CreatedAt.Before(users[j].CreatedAt)

0 commit comments

Comments
 (0)