Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Remove job argument as it has a default value

Dombi Attilaf4d44f92486a
diff --git a/spec/features/admin/working_days_spec.rb b/spec/features/admin/working_days_spec.rb
index 396679080c3..c9e544bb65d 100644
--- a/spec/features/admin/working_days_spec.rb
+++ b/spec/features/admin/working_days_spec.rb
@@ -161,7 +161,7 @@ describe 'Working Days', type: :feature, js: true do
# delayed jobs are handled.
ActiveJob::QueueAdapters::DelayedJobAdapter
.new
- .enqueue(WorkPackages::ApplyWorkingDaysChangeJob.new(user_id: 5, previous_working_days: []))
+ .enqueue(WorkPackages::ApplyWorkingDaysChangeJob.new(user_id: 5))
uncheck 'Tuesday'
click_on 'Save'