From df1e7c7b03d1a0b10afeadc3969a1fbc856e969b Mon Sep 17 00:00:00 2001 From: Zach Daniel Date: Fri, 9 Aug 2024 09:58:47 -0400 Subject: [PATCH] chore: use the new alias introduced --- test/support/accounts/user.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/support/accounts/user.ex b/test/support/accounts/user.ex index f38b085..5956500 100644 --- a/test/support/accounts/user.ex +++ b/test/support/accounts/user.ex @@ -57,7 +57,7 @@ defmodule Example.Accounts.User do if query.action.name == :sign_in_with_password && query.context[:should_fail] do Ash.Query.add_error( query, - Ash.Error.Query.InvalidArgument.exception( + InvalidArgument.exception( field: :email, message: "I cant let you do that dave." )