user_nr_1.rb 228 B

123456789101112
  1. User.create_if_not_exists(
  2. id: 1,
  3. login: '-',
  4. firstname: '-',
  5. lastname: '',
  6. email: '',
  7. active: false,
  8. updated_by_id: 1,
  9. created_by_id: 1
  10. )
  11. UserInfo.current_user_id = 1