Skip to content

Commit d4729dd

Browse files
committed
Use SpanStorage alias in the test
1 parent 0b2e62a commit d4729dd

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

test/sentry/opentelemetry/span_processor_test.exs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
defmodule Sentry.OpenTelemetry.SpanProcessorTest do
1+
defmodule Sentry.Opentelemetry.SpanProcessorTest do
22
use Sentry.Case, async: false
33

44
import Sentry.TestHelpers
@@ -101,11 +101,8 @@ defmodule Sentry.OpenTelemetry.SpanProcessorTest do
101101

102102
assert [%Sentry.Transaction{} = transaction] = Sentry.Test.pop_sentry_transactions()
103103

104-
assert nil ==
105-
Sentry.OpenTelemetry.SpanStorage.get_root_span(transaction.contexts.trace.span_id)
106-
107-
assert [] ==
108-
Sentry.OpenTelemetry.SpanStorage.get_child_spans(transaction.contexts.trace.span_id)
104+
assert nil == SpanStorage.get_root_span(transaction.contexts.trace.span_id)
105+
assert [] == SpanStorage.get_child_spans(transaction.contexts.trace.span_id)
109106
end
110107

111108
defp assert_valid_iso8601(timestamp) do

0 commit comments

Comments
 (0)