 
   test "returns all contest fields", %{conn: conn} do
     %{stages: [s]} =
-      h = insert(:host, name: "DS Helsinki", country_code: "FI", stages: build_list(1, :stage))
+      h =
+      insert(:host,
+        name: "DS Helsinki",
+        country_code: "FI",
+        stages: [build(:stage, name: "Aula")]
+      )
 
     c =
       insert(:contest,


    query = """
    query {
      contests { id name countryCode startDate endDate dates }
    }
    """


                   "startDate" => "2019-01-01",
                   "endDate" => "2019-01-03",
                   "dates" => ["2019-01-01", "2019-01-02", "2019-01-03"],
                   "stages" => [
                     %{"id" => "#{s.id}", "name" => "Aula"}
                   ]
                 }
               ]
             }
