chore: fix test for ^ref

This commit is contained in:
Zach Daniel 2024-05-15 11:23:26 -04:00
parent 3f00dcbe8e
commit 6153016080

View file

@ -1091,7 +1091,7 @@ defmodule AshPostgres.FilterTest do
fetched_org =
Organization
|> Ash.Query.filter(^ref(:id, [:posts, :comments]) == ^comment.id)
|> Ash.Query.filter(^ref([:posts, :comments], :id) == ^comment.id)
|> Ash.read_one!()
assert fetched_org.id == organization.id