From a6ea2effff2a114f6b030d77125da0fbd571621c Mon Sep 17 00:00:00 2001 From: Kamaro Date: Mon, 23 Jun 2025 10:05:40 +0300 Subject: [PATCH] Fixed the tests --- lib/helpcenter/accounts.ex | 10 +++++++++- test/helpcenter/accounts/user_notification_test.exs | 1 + 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/lib/helpcenter/accounts.ex b/lib/helpcenter/accounts.ex index 13195e8..878d65b 100644 --- a/lib/helpcenter/accounts.ex +++ b/lib/helpcenter/accounts.ex @@ -3,7 +3,15 @@ defmodule Helpcenter.Accounts do use Ash.Domain, otp_app: :helpcenter resources do - # the rest of the domain resources + # Authentication + resource Helpcenter.Accounts.Token + resource Helpcenter.Accounts.User + resource Helpcenter.Accounts.Team + resource Helpcenter.Accounts.UserTeam + + resource Helpcenter.Accounts.Group + resource Helpcenter.Accounts.GroupPermission + resource Helpcenter.Accounts.UserGroup resource Helpcenter.Accounts.UserNotification do define :notify, action: :create diff --git a/test/helpcenter/accounts/user_notification_test.exs b/test/helpcenter/accounts/user_notification_test.exs index 86f7b29..abf3a2c 100644 --- a/test/helpcenter/accounts/user_notification_test.exs +++ b/test/helpcenter/accounts/user_notification_test.exs @@ -1,3 +1,4 @@ +# test/helpcenter/accounts/user_notification_test.exs defmodule Helpcenter.Accounts.UserNotificationTest do use HelpcenterWeb.ConnCase, async: false require Ash.Query