add length limits to all items

This commit is contained in:
2023-03-19 23:46:42 -04:00
parent e5e5449e8b
commit fe4e4f4f17
41 changed files with 473 additions and 399 deletions

View File

@ -149,9 +149,9 @@ defmodule Cannery.Fixtures do
def tag_fixture(attrs \\ %{}, %User{} = user) do
attrs
|> Enum.into(%{
"bg_color" => "some bg-color",
"bg_color" => "#100000",
"name" => "some name",
"text_color" => "some text-color"
"text_color" => "#000000"
})
|> Containers.create_tag(user)
|> unwrap_ok_tuple()