mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 05:23:03 +12:00
chore: fix tests
This commit is contained in:
parent
92208d8f84
commit
67305a6ec8
2 changed files with 2 additions and 3 deletions
|
@ -370,7 +370,7 @@ defmodule Ash.Error do
|
|||
%{error | stacktrace: stacktrace || fake_stacktrace()}
|
||||
end
|
||||
|
||||
defp fake_stacktrace() do
|
||||
defp fake_stacktrace do
|
||||
{:current_stacktrace, stacktrace} = Process.info(self(), :current_stacktrace)
|
||||
%Stacktrace{stacktrace: Enum.drop(stacktrace, 2)}
|
||||
end
|
||||
|
|
|
@ -309,8 +309,7 @@ defmodule Ash.Test.Resource.Relationships.BelongsToTest do
|
|||
%Ash.Error.Invalid{
|
||||
changeset: %{
|
||||
errors: [
|
||||
# there should not be a Ash.Error.Changes.Required error in this list
|
||||
%Ash.Error.Invalid{path: [:post]}
|
||||
%{path: [:post]} | _
|
||||
]
|
||||
}
|
||||
}} =
|
||||
|
|
Loading…
Reference in a new issue