Skip to content

Commit

Permalink
Improve variable names
Browse files Browse the repository at this point in the history
Co-authored-by: Thibaut Barrère <[email protected]>
  • Loading branch information
AntoineAugusti and thbar authored Dec 31, 2024
1 parent 10afef7 commit 94d576a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/transport/test/transport/jobs/oban_logger_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ defmodule Transport.Test.Transport.Jobs.ObanLoggerTest do
end

test "oban default logger is set up for important components" do
events = Enum.filter(:telemetry.list_handlers([]), &(&1.id == "oban-default-logger"))
registered_handlers = Enum.filter(:telemetry.list_handlers([]), &(&1.id == "oban-default-logger"))

assert Enum.count(events) > 0
assert Enum.count(registered_handlers) > 0

components =
events
registered_handlers
|> Enum.map(fn %{event_name: [:oban, component, _]} -> component end)
|> MapSet.new()

Expand Down

0 comments on commit 94d576a

Please sign in to comment.