DEV: Update a defensive test which case is no longer possible (#30640)

Introduced in https://github.com/discourse/discourse/pull/30263, it is also causing flaky tests.
This commit is contained in:
Natalie Tay 2025-01-08 21:06:04 +08:00 committed by GitHub
parent 9779cc9d5e
commit 6dd306be55
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -140,7 +140,7 @@ describe "AddUserToGroupThroughCustomField" do
fab!(:iowa) { Fabricate(:group, full_name: "Iowa") }
fab!(:missouri) { Fabricate(:group, full_name: "Missouri") }
fab!(:user1) { Fabricate(:user, id: bangalore.id) }
fab!(:user1) { Fabricate(:user) }
fab!(:user2) { Fabricate(:user) }
fab!(:user3) { Fabricate(:user) }
fab!(:user4) { Fabricate(:user) }