Skip to content

Commit d2e3669

Browse files
committed
Fix formatting
1 parent 3155116 commit d2e3669

File tree

3 files changed

+11
-13
lines changed

3 files changed

+11
-13
lines changed

test_integrations/phoenix_app/lib/phoenix_app_web/controllers/page_controller.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ defmodule PhoenixAppWeb.PageController do
1414
end
1515

1616
def transaction(conn, _params) do
17-
Tracer.with_span("test_span") do
17+
Tracer.with_span "test_span" do
1818
:timer.sleep(100)
1919
end
2020

test_integrations/phoenix_app/mix.exs

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,19 +39,18 @@ defmodule PhoenixApp.MixProject do
3939
{:ecto, "~> 3.12"},
4040
{:ecto_sql, "~> 3.12"},
4141
{:ecto_sqlite3, "~> 0.16"},
42-
4342
{:phoenix, "~> 1.7.14"},
4443
{:phoenix_html, "~> 4.1"},
4544
{:phoenix_live_view, "~> 1.0"},
4645
{:phoenix_live_reload, "~> 1.2", only: :dev},
4746
{:phoenix_ecto, "~> 4.6", optional: true},
4847
{:heroicons,
49-
github: "tailwindlabs/heroicons",
50-
tag: "v2.1.1",
51-
sparse: "optimized",
52-
app: false,
53-
compile: false,
54-
depth: 1},
48+
github: "tailwindlabs/heroicons",
49+
tag: "v2.1.1",
50+
sparse: "optimized",
51+
app: false,
52+
compile: false,
53+
depth: 1},
5554
{:floki, ">= 0.30.0", only: :test},
5655
{:phoenix_live_dashboard, "~> 0.8.3"},
5756
{:esbuild, "~> 0.8", runtime: Mix.env() == :dev},
@@ -65,13 +64,11 @@ defmodule PhoenixApp.MixProject do
6564
{:dns_cluster, "~> 0.1.1"},
6665
{:bandit, "~> 1.5"},
6766
{:bypass, "~> 2.1", only: :test},
68-
6967
{:opentelemetry, "~> 1.4"},
7068
{:opentelemetry_api, "~> 1.3"},
7169
{:opentelemetry_phoenix, "~> 1.2"},
7270
{:opentelemetry_bandit, "~> 0.1.4", github: "solnic/opentelemetry-bandit"},
7371
{:opentelemetry_ecto, "~> 1.2"},
74-
7572
{:sentry, path: "../.."},
7673
{:hackney, "~> 1.18"}
7774
]

test_integrations/phoenix_app/test/phoenix_app_web/live/user_live_test.exs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,10 @@ defmodule PhoenixAppWeb.UserLiveTest do
5454

5555
transactions = Sentry.Test.pop_sentry_transactions()
5656

57-
transaction_save = Enum.find(transactions, fn transaction ->
58-
transaction.transaction == "PhoenixAppWeb.UserLive.Index.handle_event#save"
59-
end)
57+
transaction_save =
58+
Enum.find(transactions, fn transaction ->
59+
transaction.transaction == "PhoenixAppWeb.UserLive.Index.handle_event#save"
60+
end)
6061

6162
assert transaction_save.transaction == "PhoenixAppWeb.UserLive.Index.handle_event#save"
6263
assert transaction_save.transaction_info.source == "view"

0 commit comments

Comments
 (0)