fix broken test and put it back in

This commit is contained in:
Lili (Tlapka) 2021-09-20 18:19:21 +02:00
parent 2169e79b6f
commit d62b1c8380
1 changed files with 4 additions and 5 deletions

View File

@ -18,11 +18,10 @@ defmodule PokemonCouture.ShopsTest do
clothes clothes
end end
# for some reason this default test does not work anymore. probably because of db seeding.
# test "list_clothes/0 returns all clothes" do test "list_clothes/0 returns non-empty list" do
# clothes = clothes_fixture() assert length(Shops.list_clothes()) > 0
# assert Shops.list_clothes() == [clothes] end
# end
test "get_clothes!/1 returns the clothes with given id" do test "get_clothes!/1 returns the clothes with given id" do
clothes = clothes_fixture() clothes = clothes_fixture()