Skip to content

Commit

Permalink
Remove freeze_time since problem_checker doesn't depend on it
Browse files Browse the repository at this point in the history
  • Loading branch information
nattsw committed Aug 12, 2024
1 parent 4fcb613 commit 05ac3a8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spec/lib/api_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@
end

it "returns invalid credentials error when Salesforce client ID is blank" do
freeze_time
SiteSetting.salesforce_client_id = ""

described_class.new
expect { described_class.new }.to raise_error(::Salesforce::InvalidCredentials)

problem = AdminNotice.find_by(identifier: "salesforce_invalid_credentials")
expect(problem.message).to eq(
Expand Down

0 comments on commit 05ac3a8

Please sign in to comment.