Skip to content

Commit

Permalink
remove unused settings
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenjcumming committed Oct 25, 2024
1 parent 1a72def commit d605a38
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
2 changes: 0 additions & 2 deletions config/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -378,8 +378,6 @@ modules_appeals_api:
enabled: false
weekly_decision_review:
enabled: false
daily_error:
enabled: false
weekly_error:
enabled: false
schema_dir: config/schemas
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,9 @@
in_process_element[0]['uuid'] = upload.id
expect(faraday_response).to receive(:body).at_least(:once).and_return([in_process_element].to_json)

with_settings(Settings.modules_appeals_api, notice_of_disagreement_updater_enabled: true) do
AppealsApi::NoticeOfDisagreementUploadStatusUpdater.new.perform([upload])
upload.reload
expect(upload.status).to eq('processing')
end
AppealsApi::NoticeOfDisagreementUploadStatusUpdater.new.perform([upload])
upload.reload
expect(upload.status).to eq('processing')
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,9 @@
in_process_element[0]['uuid'] = upload.id
expect(faraday_response).to receive(:body).at_least(:once).and_return([in_process_element].to_json)

with_settings(Settings.modules_appeals_api, supplemental_claim_updater_enabled: true) do
AppealsApi::SupplementalClaimUploadStatusUpdater.new.perform([upload])
upload.reload
expect(upload.status).to eq('processing')
end
AppealsApi::SupplementalClaimUploadStatusUpdater.new.perform([upload])
upload.reload
expect(upload.status).to eq('processing')
end
end
end

0 comments on commit d605a38

Please sign in to comment.