     assert Repo.one!(Patch).is_single == true
   end
 
-  test "single patches get solo batched" do
+  test "single patches get solo batched", %{proj: proj} do
     GitHub.ServerMock.put_state(%{
       {{:installation, 91}, 14} => %{
         branches: %{},

    Batcher.handle_call({:set_is_single, patch2.id, true}, nil, proj.id)
    Batcher.handle_cast({:reviewed, patch2.id, "rvr"}, proj.id)

    # test that patch2 is solo batched
  end

  test "sets patch priorities", %{proj: proj} do

    |> Repo.insert!()
    batch = %Batch{
      project_id: proj.id,
      state: :waiting,
      into_branch: "master"}
    |> Repo.insert!()

