fix module aliasing issues

This commit is contained in:
2026-05-05 23:04:01 +01:00
parent 0a7ad6af8a
commit 11396e37a8
11 changed files with 43 additions and 22 deletions
@@ -1,3 +1,5 @@
alias Firehose.Test.FakeBlog
defmodule FirehoseWeb.EditorDashboardLiveTest do
use FirehoseWeb.ConnCase, async: true
@@ -41,13 +43,13 @@ defmodule FirehoseWeb.EditorDashboardLiveTest do
]
{:ok, _} =
Firehose.Test.FakeBlog.start(posts,
FakeBlog.start(posts,
blog_id: :test_blog,
title: "Test Blog",
base_path: "/blog/test"
)
Application.put_env(:blogex, :blogs, [Firehose.Test.FakeBlog])
Application.put_env(:blogex, :blogs, [FakeBlog])
on_exit(fn -> Application.delete_env(:blogex, :blogs) end)
:ok