We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74cead8 commit 9b3e5d3Copy full SHA for 9b3e5d3
test/ash_postgres_test.exs
@@ -15,7 +15,7 @@ defmodule AshPostgresTest do
15
test "filter policies are applied in create" do
16
assert_raise Ash.Error.Forbidden, fn ->
17
AshPostgres.Test.Post
18
- |> Ash.Changeset.for_create(:create, %{title: "worst"})
+ |> Ash.Changeset.for_create(:create, %{title: "worst"}, authorize?: true)
19
|> Ash.create!()
20
end
21
@@ -39,10 +39,5 @@ defmodule AshPostgresTest do
39
)
40
|> Map.get(:title)
41
42
-
43
- # post
44
- # |> Ash.Changeset.for_update(:update, %{title: "okay"}, authorize?: true)
45
- # |> Ash.update!()
46
- # |> Map.get(:title)
47
48
0 commit comments