Commit 4bcc84854b950a86b535154c966731e9ec37cdda

Authored by Larissa Reis
1 parent 6c4f6400

Fixes user test after external person attributes change

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
test/unit/user_test.rb
... ... @@ -762,7 +762,7 @@ class UserTest < ActiveSupport::TestCase
762 762 should 'get person or external person' do
763 763 user = create_user('new_user')
764 764 assert_kind_of Person, user.person
765   - user.external_person_id = ExternalPerson.create!(identifier: 'new_user', name: 'New User').id
  765 + user.external_person_id = ExternalPerson.create!(identifier: 'new_user', name: 'New User', email: 'newuser@usermail.com', source: 'federated.noosfero.com', created_at: Date.today).id
766 766 assert_kind_of ExternalPerson, user.person
767 767 assert_kind_of Person, user.person_without_external
768 768 end
... ...