diff --git a/plugins/push_notification/test/helpers/observers_test_helper.rb b/plugins/push_notification/test/helpers/observers_test_helper.rb index b1749ff..2fd5ce2 100644 --- a/plugins/push_notification/test/helpers/observers_test_helper.rb +++ b/plugins/push_notification/test/helpers/observers_test_helper.rb @@ -9,7 +9,8 @@ module ObserversTestHelper end def create_add_member_task - person = fast_create(Person) + user = fast_create(User) + person = fast_create(Person, :user_id => user.id) community = fast_create(Community) return AddMember.create!(:requestor => person, :target => community) end -- libgit2 0.21.2