Use admin user in backup spec

pull/9686/head
Oliver Günther 3 years ago
parent 0c437c3f05
commit d30352ccaa
No known key found for this signature in database
GPG Key ID: A3A8BDAD7C0C552C
  1. 2
      spec/workers/backup_job_spec.rb

@ -59,7 +59,7 @@ describe BackupJob, type: :model do
let(:arguments) { [{ backup: backup, user: user, **opts }] } let(:arguments) { [{ backup: backup, user: user, **opts }] }
let(:user) { FactoryBot.create :user } let(:user) { FactoryBot.create :admin }
before do before do
previous_backup; backup; status # create previous_backup; backup; status # create

Loading…
Cancel
Save