avoid using the system user which is also an admin

pull/10261/head
ulferts 3 years ago
parent 40c880fd65
commit c68d56c895
No known key found for this signature in database
GPG Key ID: A205708DE1284017
  1. 2
      app/seeders/demo_data/work_package_seeder.rb

@ -36,7 +36,7 @@ module DemoData
def initialize(project, key)
self.project = project
self.key = key
self.user = User.admin.first
self.user = User.user.admin.first
self.statuses = Status.all
self.repository = Repository.first
self.types = project.types.all.reject(&:is_milestone?)

Loading…
Cancel
Save