Skip to content

Commit

Permalink
Fix tests?
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtOfCode- committed Jul 27, 2021
1 parent 6db94fb commit 7476556
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/controllers/users_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ class UsersControllerTest < ActionController::TestCase

def create_other_user
other_community = Community.create(host: 'other.qpixel.com', name: 'Other')
RequestContext.redis.hset 'network/community_registrations', 'other@example.com', other_community.id
other_user = User.create!(email: 'other@example.com', password: 'abcdefghijklmnopqrstuvwxyz', username: 'other_user')
other_user.community_users.create!(community: other_community)
other_user
Expand Down

0 comments on commit 7476556

Please sign in to comment.