Skip to content

Commit 32edbb8

Browse files
committed
Fix formatting
1 parent 7d7b397 commit 32edbb8

File tree

3 files changed

+11
-14
lines changed

3 files changed

+11
-14
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 & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,22 +34,20 @@ defmodule PhoenixApp.MixProject do
3434
[
3535
{:nimble_options, "~> 1.0"},
3636
{:nimble_ownership, "~> 0.3.0 or ~> 1.0"},
37-
3837
{:ecto, "~> 3.12"},
3938
{:ecto_sql, "~> 3.12"},
4039
{:ecto_sqlite3, "~> 0.16"},
41-
4240
{:phoenix, "~> 1.7.14"},
4341
{:phoenix_html, "~> 4.1"},
4442
{:phoenix_live_reload, "~> 1.2", only: :dev},
4543
{:phoenix_ecto, "~> 4.6", optional: true},
4644
{:heroicons,
47-
github: "tailwindlabs/heroicons",
48-
tag: "v2.1.1",
49-
sparse: "optimized",
50-
app: false,
51-
compile: false,
52-
depth: 1},
45+
github: "tailwindlabs/heroicons",
46+
tag: "v2.1.1",
47+
sparse: "optimized",
48+
app: false,
49+
compile: false,
50+
depth: 1},
5351
# TODO bump on release to {:phoenix_live_view, "~> 1.0.0"},
5452
{:phoenix_live_view, "~> 1.0.0-rc.1", override: true},
5553
{:floki, ">= 0.30.0", only: :test},
@@ -65,13 +63,11 @@ defmodule PhoenixApp.MixProject do
6563
{:dns_cluster, "~> 0.1.1"},
6664
{:bandit, "~> 1.5"},
6765
{:bypass, "~> 2.1", only: :test},
68-
6966
{:opentelemetry, "~> 1.4"},
7067
{:opentelemetry_api, "~> 1.3"},
7168
{:opentelemetry_phoenix, "~> 1.2"},
7269
{:opentelemetry_bandit, "~> 0.1.4", github: "solnic/opentelemetry-bandit"},
7370
{:opentelemetry_ecto, "~> 1.2"},
74-
7571
{:sentry, path: "../.."},
7672
{:hackney, "~> 1.18"}
7773
]

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)