Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
mayel committed Feb 13, 2024
1 parent b615257 commit d5a8595
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 75 deletions.
3 changes: 2 additions & 1 deletion flavours/classic/config/deps.hex
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ ex_cldr = "~> 2.30" # internationalisation
# livebook = "~> 0.7.2"
surface = "~> 0.11.0" # note: usually we should let bonfire_ui_common control this
phoenix = "~> 1.7.0" # note: should match version supported by version of surface used
phoenix_live_view = "<= 0.20.1" # usually should let surface decide the version
# phoenix_live_view = "<= 0.20.1" # usually should let surface decide the version
phoenix_live_view = "~> 0.20.5" # usually should let surface decide the version
# live_view_native = "~> 0.2.0"
# live_view_native_swiftui = "~> 0.2.1"
# phoenix_html = "~> 3.3.0" # note: usually we should let bonfire_ui_common control this
Expand Down
10 changes: 5 additions & 5 deletions flavours/classic/config/test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@ config :bonfire_search,

## Other general test config

truncate = case System.get_env("TEST_LOG_TRUNCATE", "1000") do
"0" -> :infinity
truncate -> String.to_integer(truncate)
end
truncate =
case System.get_env("TEST_LOG_TRUNCATE", "1000") do
"0" -> :infinity
truncate -> String.to_integer(truncate)
end

config :logger,
level: String.to_existing_atom(System.get_env("TEST_LOG_LEVEL", "info")),
Expand All @@ -37,7 +38,6 @@ if !test_instance? do
config :logger, backends: []
end


# Configure your database
# db = "bonfire_test#{System.get_env("MIX_TEST_PARTITION")}"
#
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ defmodule Bonfire.Umbrella.MixProject do
# tests
# {:floki, ">= 0.0.0", only: [:dev, :test]},
# {:pages, "~> 0.12", only: :test}, # extends Floki for testing
{:phoenix_test, "~> 0.2.2", only: :test, runtime: false},
{:phoenix_test, "~> 0.2.4", only: :test, runtime: false},
{:mock, "~> 0.3", only: :test},
{:mox, "~> 1.0", only: :test},
{:ex_machina, "~> 2.7", only: [:dev, :test]},
Expand Down
Loading

0 comments on commit d5a8595

Please sign in to comment.