Skip to content

Commit

Permalink
Formatted code
Browse files Browse the repository at this point in the history
  • Loading branch information
vloothuis committed Sep 21, 2023
1 parent 494aef6 commit 0b1814e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 4 additions & 4 deletions core/config/dev.exs
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ config :core, Systems.Email.Mailer,
config :core, :apns_backend, Core.APNS.LoggingBackend

static_path =
File.cwd!()
|> Path.join("tmp")
|> Path.join("uploads")
|> tap(&File.mkdir_p!/1)
File.cwd!()
|> Path.join("tmp")
|> Path.join("uploads")
|> tap(&File.mkdir_p!/1)

config :core, :static_path, static_path

Expand Down
4 changes: 3 additions & 1 deletion core/test/systems/feldspar/app_page_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ defmodule Systems.Feldspar.AppPageTest do
describe "handle app_event" do
test "can receive random app_event data", %{conn: conn} do
{:ok, view, _html} = live(conn, ~p"/apps/test")
assert render_hook(view, :app_event, %{unexpected_key: "some data"}) =~ "Unsupported message:"

assert render_hook(view, :app_event, %{unexpected_key: "some data"}) =~
"Unsupported message:"
end
end
end

0 comments on commit 0b1814e

Please sign in to comment.