   test "delete workshop", %{w1: w1} do
     {:ok, workshop} = Workshops.delete(w1.slug)
 
-<<<<<<< HEAD
     refute Repo.get(Workshop, workshop.id)
-=======
-    refute Repo.get(Workshop, w1.id)
->>>>>>> Big changes
   end
 
   test "toggle checkin", %{w1: w1} do
     u1 = create_user()
-<<<<<<< HEAD
     create_workshop_attendance(w1, u1)
-=======
-    attendance = create_workshop_attendance(w1, u1)
->>>>>>> Big changes
 
     {:ok, _} = Workshops.toggle_checkin(w1.slug, u1.id, true)
 


  test "join workshop if there are vacancies", %{w1: w1} do
    u1 = create_user()
<<<<<<< HEAD
    assert w1.participants_counter == 0

=======
>>>>>>> Big changes
    {:ok, attendance} = Workshops.join(u1, w1.slug)

    assert attendance.workshop_id == w1.id
    assert attendance.user_id == u1.id
<<<<<<< HEAD

    w2 = Workshops.get(w1.slug)
    assert w2.participants_counter == 1
=======
>>>>>>> Big changes
  end

  test "join workshop if there are no vacancies", %{w1: w1} do

    w2 = create_workshop()
    workshops = Workshops.all()

    assert workshops == [w1, w2]
    assert length(workshops) == 2
  end

