diff --git a/test/unit/session_collections_test.rb b/test/unit/session_collections_test.rb index 88706dd6e..c478329a2 100644 --- a/test/unit/session_collections_test.rb +++ b/test/unit/session_collections_test.rb @@ -42,13 +42,14 @@ class SessionCollectionsTest < ActiveSupport::TestCase roles = Role.where( :name => [ 'Customer'] ) customer1 = User.create_or_update( - :login => 'session-collections-customer-1', - :firstname => 'Session', - :lastname => 'collections 2', - :email => 'session-collections-customer-1@example.com', - :password => 'customerpw', - :active => true, - :roles => roles, + :login => 'session-collections-customer-1', + :firstname => 'Session', + :lastname => 'collections 2', + :email => 'session-collections-customer-1@example.com', + :password => 'customerpw', + :organization_id => nil, + :active => true, + :roles => roles, ) customer1.roles = roles customer1.save