[openstreetmap/openstreetmap-website] Rework UI to hide/delete/suspend users (PR #6564)

Tom Hughes notifications at github.com
Fri Dec 5 16:52:12 UTC 2025


@tomhughes commented on this pull request.



> @@ -476,8 +476,11 @@ def test_index_paged
 
   def test_index_user_paged
     user = create(:user)
-    create_list(:diary_entry, 50, :user => user)
-    user.confirm!
+    num_entries = 50
+    build_list(:diary_entry, num_entries, :user => user) do |entry, i|
+      entry.created_at = (num_entries - i).days.ago
+      entry.save!
+    end

What's this about, and what does it have to do with the commit it's part of?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6564#pullrequestreview-3545569743
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/6564/review/3545569743 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20251205/081d8326/attachment.htm>


More information about the rails-dev mailing list