We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f70cd70 commit 55d9b95Copy full SHA for 55d9b95
test/aggregate_test.exs
@@ -91,8 +91,8 @@ defmodule AshSql.AggregateTest do
91
assert Ash.load!(user, :count_visited, tenant: "org_#{org.id}")
92
|> then(& &1.count_visited) == 4
93
94
- assert Ash.load!(org, :total_posts)
95
- |> then(& &1.total_posts) == 4
+ assert Ash.load!(org, :total_posts, tenant: "org_#{org.id}")
+ |> then(& &1.total_posts) == 0
96
97
assert Ash.load!(org, :total_users_posts, tenant: "org_#{org.id}")
98
|> then(& &1.total_users_posts) == 4
0 commit comments