mirror of
https://github.com/ash-project/ash_postgres.git
synced 2024-09-20 13:33:50 +12:00
chore: make test assertion clearer to debug CI
This commit is contained in:
parent
cdd94a8b93
commit
cc7a761512
1 changed files with 2 additions and 1 deletions
|
@ -616,11 +616,12 @@ defmodule AshSql.AggregateTest do
|
|||
|> Ash.Changeset.manage_relationship(:post, post, type: :append_and_remove)
|
||||
|> Ash.create!()
|
||||
|
||||
assert %{first_comment_nils_first_include_nil: "match"} =
|
||||
assert "match" ==
|
||||
Post
|
||||
|> Ash.Query.filter(id == ^post.id)
|
||||
|> Ash.Query.load(:first_comment_nils_first_include_nil)
|
||||
|> Ash.read_one!()
|
||||
|> Map.get(:first_comment_nils_first_include_nil)
|
||||
end
|
||||
|
||||
test "it can be sorted on" do
|
||||
|
|
Loading…
Reference in a new issue