Skip to content

Commit

Permalink
gen site test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
APB9785 committed Jan 15, 2025
1 parent 63cd932 commit 64d61c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/mix/tasks/gen_site_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -250,10 +250,10 @@ defmodule Mix.Tasks.Beacon.GenSiteTest do
64 + |
""")
|> assert_has_patch("config/runtime.exs", """
8 + |config :test, TestWeb.ProxyEndpoint, check_origin: ["example.com"]
55 + | check_origin: ["example.com"],
""")
|> assert_has_patch("config/runtime.exs", """
9 + |config :beacon, my_site: [site: :my_site, repo: Test.Repo, endpoint: TestWeb.ExampleEndpoint, router: TestWeb.Router]
2 + |config :beacon, my_site: [site: :my_site, repo: Test.Repo, endpoint: TestWeb.ExampleEndpoint, router: TestWeb.Router]
""")
end

Expand Down

0 comments on commit 64d61c6

Please sign in to comment.