From 8fd618a1e84b07a65b42f8b7d1ae155733fe9388 Mon Sep 17 00:00:00 2001 From: brandaoplaster Date: Sat, 31 Jan 2026 17:15:58 -0300 Subject: [PATCH] fix: Fixing namespace --- lib/foedus_web/router.ex | 2 +- test/support/factories/user_factory.ex | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/foedus_web/router.ex b/lib/foedus_web/router.ex index 87582f6..1053dca 100644 --- a/lib/foedus_web/router.ex +++ b/lib/foedus_web/router.ex @@ -28,7 +28,7 @@ defmodule FoedusWeb.Router do live_session :redirect_if_user_is_authenticated, on_mount: [{FoedusWeb.UserAuth, :redirect_if_user_is_authenticated}] do live "/", HomeLive.Index, :index - live "/users/log_in", UserLoginLive, :new + live "/users/log_in", UserAuth.UserLoginLive, :new live "/onboarding", OnboardingLive.Index, :index live "/users/reset_password", UserAuth.UserForgotPasswordLive, :new diff --git a/test/support/factories/user_factory.ex b/test/support/factories/user_factory.ex index 43a5c9f..92a8773 100644 --- a/test/support/factories/user_factory.ex +++ b/test/support/factories/user_factory.ex @@ -7,7 +7,7 @@ defmodule Foedus.UserFactory do %User{ email: Faker.Internet.email(), hashed_password: Bcrypt.hash_pwd_salt("password123"), - company: build(:company) + company_id: insert(:company).id } end end