DEV: Remove two more references to instagram_user_infos
Follow-up to ad6f33e5b1
This commit is contained in:
parent
cdec5f154b
commit
06c2e28bbb
|
@ -64,7 +64,6 @@ class UserAnonymizer
|
|||
@user.single_sign_on_record.try(:destroy)
|
||||
@user.oauth2_user_infos.try(:destroy_all)
|
||||
@user.user_associated_accounts.try(:destroy_all)
|
||||
@user.instagram_user_info.try(:destroy)
|
||||
@user.user_open_ids.find_each { |x| x.destroy }
|
||||
@user.api_keys.find_each { |x| x.try(:destroy) }
|
||||
@user.user_emails.secondary.destroy_all
|
||||
|
|
|
@ -210,7 +210,6 @@ describe UserAnonymizer do
|
|||
expect(user.user_associated_accounts).to be_empty
|
||||
expect(user.single_sign_on_record).to eq(nil)
|
||||
expect(user.oauth2_user_infos).to be_empty
|
||||
expect(user.instagram_user_info).to eq(nil)
|
||||
expect(user.user_open_ids.count).to eq(0)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue