diff --git a/app/seeders/demo_data/work_package_seeder.rb b/app/seeders/demo_data/work_package_seeder.rb index 1b67a5cf50..74ed0940a6 100644 --- a/app/seeders/demo_data/work_package_seeder.rb +++ b/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?)