Skip to content

Commit 1376007

Browse files
committed
chore: remove test
1 parent b49b9d0 commit 1376007

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

test/acceptance/belongs_to_required_test.exs

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -130,31 +130,6 @@ defmodule Test.Acceptance.BelongsToRequiredTest do
130130

131131
describe "invalid_post" do
132132
@describetag :attributes
133-
test "create without an author_id in relationship" do
134-
id = Ecto.UUID.generate()
135-
136-
response =
137-
Domain
138-
|> post("/posts", %{
139-
data: %{
140-
type: "post",
141-
attributes: %{
142-
id: id,
143-
name: "Invalid Post 1"
144-
},
145-
relationships: %{
146-
author: %{
147-
data: %{}
148-
}
149-
}
150-
}
151-
})
152-
153-
# response is a Plug.
154-
assert response.status == 400
155-
156-
assert Enum.any?(response.resp_body["errors"], &(&1["code"] == "required"))
157-
end
158133

159134
test "create without an author in relationship" do
160135
id = Ecto.UUID.generate()

0 commit comments

Comments
 (0)