Skip to content

Commit

Permalink
chore: fix tenant set
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Dec 12, 2024
1 parent aab226c commit 122bcf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/multitenancy_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ defmodule AshPostgres.Test.MultitenancyTest do

assert [] =
Org
|> Ash.Query.set_tenant(org1)
|> Ash.Query.set_tenant("org_" <> org1.id)
|> Ash.Query.for_read(:has_policies, %{}, actor: user, authorize?: true)
|> Ash.read!()
end
Expand Down

0 comments on commit 122bcf5

Please sign in to comment.