revert one of previous because they give warnings
This commit is contained in:
		
							parent
							
								
									9c47d722dd
								
							
						
					
					
						commit
						6598455c39
					
				| @ -3,9 +3,9 @@ defmodule PokemonCoutureWeb.ClothesControllerTest do | ||||
| 
 | ||||
|   alias PokemonCouture.Shops | ||||
| 
 | ||||
| #  @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} | ||||
|   @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) | ||||
| @ -19,8 +19,8 @@ defmodule PokemonCoutureWeb.ClothesControllerTest do | ||||
|     end | ||||
|   end | ||||
| 
 | ||||
| #  defp create_clothes(_) do | ||||
| #    clothes = fixture(:clothes) | ||||
| #    %{clothes: clothes} | ||||
| #  end | ||||
|   defp create_clothes(_) do | ||||
|     clothes = fixture(:clothes) | ||||
|     %{clothes: clothes} | ||||
|   end | ||||
| end | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user