Skip to content

Commit

Permalink
DEBUG-2334 remove unused method stubs from DI test suite (#4107)
Browse files Browse the repository at this point in the history
Co-authored-by: Oleg Pudeyev <code@olegp.name>
  • Loading branch information
p-datadog and p authored Nov 13, 2024
1 parent 7c519ab commit 34d1947
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion spec/datadog/di/probe_notification_builder_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
let(:di_settings) do
double("di settings").tap do |settings|
allow(settings).to receive(:enabled).and_return(true)
allow(settings).to receive(:propagate_all_exceptions).and_return(false)
allow(settings).to receive(:redacted_identifiers).and_return([])
allow(settings).to receive(:redacted_type_names).and_return(%w[])
allow(settings).to receive(:max_capture_collection_size).and_return(10)
Expand Down
1 change: 0 additions & 1 deletion spec/datadog/di/redactor_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ class DoubleColonWildCardType; end
let(:di_settings) do
double("di settings").tap do |settings|
allow(settings).to receive(:enabled).and_return(true)
allow(settings).to receive(:propagate_all_exceptions).and_return(false)
allow(settings).to receive(:redacted_identifiers).and_return([])
end
end
Expand Down
1 change: 0 additions & 1 deletion spec/datadog/di/serializer_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ def default_settings
let(:di_settings) do
double("di settings").tap do |settings|
allow(settings).to receive(:enabled).and_return(true)
allow(settings).to receive(:propagate_all_exceptions).and_return(false)
allow(settings).to receive(:redacted_identifiers).and_return([])
allow(settings).to receive(:redacted_type_names).and_return(%w[
DISerializerSpecSensitiveType DISerializerSpecWildCard*
Expand Down

0 comments on commit 34d1947

Please sign in to comment.