add clothes type to clothes

This commit is contained in:
2021-09-24 14:43:41 +02:00
parent 2486143842
commit a8d30550ab
8 changed files with 432 additions and 428 deletions
@@ -3,9 +3,9 @@ defmodule PokemonCoutureWeb.ClothesControllerTest do
alias PokemonCouture.Shops
@create_attrs %{game: "some game", location: "some location", name: "some name", color: "some color"}
@update_attrs %{game: "some updated game", location: "some updated location", name: "some updated name", colo: "some updated color"}
@invalid_attrs %{game: nil, location: nil, name: nil, color: nil}
@create_attrs %{game: "some game", location: "some location", type: "hat", name: "some name", color: "some color"}
@update_attrs %{game: "some updated game", location: "some updated location", type: "shirt", name: "some updated name", colo: "some updated color"}
@invalid_attrs %{game: nil, location: nil, type: "no", name: nil, color: nil}
def fixture(:clothes) do
{:ok, clothes} = Shops.create_clothes(@create_attrs)