diff --git a/test/models/domain_test.rb b/test/models/domain_test.rb index b990c2addd..98baa084af 100644 --- a/test/models/domain_test.rb +++ b/test/models/domain_test.rb @@ -77,6 +77,6 @@ def test_returns_primary_contact_emails assert_equal 'william@inbox.test', contacts(:william).email @domain.admin_contacts = [contacts(:john), contacts(:william)] - assert_equal %w[john@inbox.test william@inbox.test], @domain.primary_contact_emails + assert_equal %w[john@inbox.test william@inbox.test].sort, @domain.primary_contact_emails.sort end end \ No newline at end of file