chore: update tests

This commit is contained in:
Zach Daniel 2021-01-12 20:39:10 -05:00
parent 4410b9d181
commit f6ce4807aa
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@ defmodule AshCsv.Test.Comment do
end
attributes do
attribute(:id, :uuid, primary_key?: true, default: &Ecto.UUID.generate/0)
uuid_primary_key :id
attribute(:title, :string)
end

View file

@ -17,7 +17,7 @@ defmodule AshCsv.Test.Post do
end
attributes do
attribute(:id, :uuid, primary_key?: true, default: &Ecto.UUID.generate/0)
uuid_primary_key true
attribute(:title, :string)
attribute(:score, :integer)
attribute(:public, :boolean)