Also need to handle account_migration in AccountDeleter spec
Also backported from #7660
This commit is contained in:
parent
fab48ee96d
commit
d39a4e3621
1 changed files with 2 additions and 1 deletions
|
|
@ -199,7 +199,8 @@ describe AccountDeleter do
|
|||
|
||||
it "has all person association keys accounted for" do
|
||||
ignored_or_special_ar_person_associations = %i[comments likes poll_participations contacts notification_actors
|
||||
notifications owner profile pod conversations messages]
|
||||
notifications owner profile pod conversations messages
|
||||
account_migration]
|
||||
all_keys = @account_deletion.normal_ar_person_associates_to_delete + ignored_or_special_ar_person_associations
|
||||
expect(all_keys.sort_by(&:to_s)).to eq(Person.reflections.keys.sort_by(&:to_s).map(&:to_sym))
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue