Browse Source

Update deactivation tests (#1057)

pull/1061/head
kosiakkatrina 2 years ago committed by GitHub
parent
commit
2a5e68ac4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      spec/requests/lettings_logs_controller_spec.rb

1
spec/requests/lettings_logs_controller_spec.rb

@ -909,6 +909,7 @@ RSpec.describe LettingsLogsController, type: :request do
let(:headers) { { "Accept" => "text/html" } }
before do
allow(affected_lettings_log.form).to receive(:end_date).and_return(Time.zone.today + 1.day)
allow(user).to receive(:need_two_factor_authentication?).and_return(false)
sign_in user
end

Loading…
Cancel
Save