Skip to content

Commit

Permalink
Merge branch 'master' into bugfix/134_back-button
Browse files Browse the repository at this point in the history
  • Loading branch information
fschoenfeldt authored Jul 30, 2024
2 parents a202507 + 195d44c commit 7eec33d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions config/runtime.exs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ if System.get_env("PHX_SERVER") do
end

if config_env() == :test do
# deactivate some modules in test environment
config :fotohaecker, Fotohaecker.RecipeManagement.JsonRecipeManagement, warm: false
config :fotohaecker, Fotohaecker.UserManagement, Fotohaecker.UserManagement.NoUserManagement
end

if config_env() == :prod do
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ defmodule Fotohaecker.UserManagement.Auth0UserManagement.Auth0Cache do
use Agent
require Logger

# TODO: the real implementation shouldn't be called when using `mix test`
# see https://github.com/fschoenfeldt/fotohaecker/issues/121
def start_link(_initial_value) do
Agent.start_link(
fn ->
Expand Down

0 comments on commit 7eec33d

Please sign in to comment.