Refactor conn aliasing in controller tests to use pipe chains

Applied refactor_conn_aliasing.sh to eliminate conn shadowing.

Show draft posts in test and dev
This commit is contained in:
Willem van den Ende
2026-03-20 21:36:08 +00:00
parent c18f9cd2e3
commit 9426582abc
7 changed files with 74 additions and 52 deletions
+2 -1
View File
@@ -61,7 +61,8 @@ config :logger, :default_formatter,
config :phoenix, :json_library, Jason
config :blogex,
blogs: [Firehose.EngineeringBlog, Firehose.ReleaseNotes]
blogs: [Firehose.EngineeringBlog, Firehose.ReleaseNotes],
show_drafts: true
# Import environment specific config. This must remain at the bottom
# of this file so it overrides the configuration defined above.
+3
View File
@@ -13,6 +13,9 @@ config :swoosh, api_client: Swoosh.ApiClient.Req
# Disable Swoosh Local Memory Storage
config :swoosh, local: false
# Hide draft blog posts in production
config :blogex, show_drafts: false
# Do not print debug messages in production
config :logger, level: :info