              start_time: Timex.shift(Timex.now(), days: 1),
              finish_time: Timex.shift(Timex.now(), days: 2),
              volunteers: [volunteer2, volunteer3])
-      next_task = SummaryHelper.get_next_task(%{id: volunteer1.id, role: volunteer1.role}, Timex.now())
+      next_task = SummaryHelper.get_next_task(volunteer1, Timex.now())
 
       assert next_task == nil
     end

                    start_time: Timex.shift(Timex.now(), days: 2),
                    finish_time: Timex.shift(Timex.now(), days: 3),
                    volunteers: [volunteer1, volunteer2])
      next_task = SummaryHelper.get_next_task(%{id: volunteer1.id, role: volunteer1.role}, Timex.now())

      assert next_task.id == task.id
    end

             start_time: Timex.shift(Timex.now(), days: 1),
             finish_time: Timex.shift(Timex.now(), days: 1),
             volunteers: [volunteer2, volunteer3])
      next_task = SummaryHelper.get_next_task(volunteer1, Timex.now())

      assert next_task.id == task.id
    end
