 
     test "raises an error when the passed contest and attributes don't match", %{contest: c} do
       [cc, _] = c.contest_categories
-      attrs = performance_params(cc, [{"soloist", ~D[2007-01-01]}])
+      attrs = performance_params(cc, [{"soloist", birthdate: ~D[2007-01-01]}])
       other_c = insert(:contest)
       assert_raise Ecto.NoResultsError, fn -> Showtime.create_performance(other_c, attrs) end
     end


      old_p = insert_performance(cc, [
        # These ensemblists together get AG IV
        {"ensemblist", ~D[2007-01-01]},
        {"ensemblist", ~D[2005-01-01]},
        {"ensemblist", ~D[2003-01-01]},
      ])

      [old_ens1 | _] = get_ensemblists(old_p)

      attrs = performance_params(cc, [
        # Update one ensemblist, replace the second and drop the third
        {old_ens1, "ensemblist", ~D[2007-01-02]},
        {"ensemblist", ~D[2006-12-31]},
      ])

      {:ok, performance} = Showtime.update_performance(c, old_p, attrs)

    insert(:performance,
      contest_category: contest_category,
      appearances: Enum.map(appearance_shorthands, fn
        {role, participant_attrs} ->
          build(:appearance,
            role: role,
            participant: build(:participant, participant_attrs)
          )
      end)
    )
