Skip to content

Commit 22c0947

Browse files
committed
chore: format
1 parent e2d1746 commit 22c0947

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

test/manage_relationship_test.exs

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,14 @@ defmodule Ash.Test.ManageRelationshipTest do
7373
accept [:required_attribute]
7474
argument :parent_resource, :map, allow_nil?: false
7575
change manage_relationship(:parent_resource, type: :direct_control)
76-
change after_action(fn changeset, result, context ->
77-
if !changeset.attributes[:parent_resource_id] do
78-
raise "should have a parent_resource_id"
79-
end
8076

81-
{:ok, result}
82-
end)
77+
change after_action(fn changeset, result, context ->
78+
if !changeset.attributes[:parent_resource_id] do
79+
raise "should have a parent_resource_id"
80+
end
81+
82+
{:ok, result}
83+
end)
8384
end
8485
end
8586

@@ -162,7 +163,7 @@ defmodule Ash.Test.ManageRelationshipTest do
162163
|> Ash.Changeset.for_create(:create_with_parent, %{
163164
required_attribute: "string",
164165
parent_resource: %{
165-
name: "Test Parent Resource",
166+
name: "Test Parent Resource"
166167
}
167168
})
168169
|> Ash.create!()

0 commit comments

Comments
 (0)