     Database.Repo.update! Database.User.changeset(user, %{is_admin: true})
   end
 
-
   def add_reviewer(repo \\ @def_repo, user \\ @def_user) do
     # Could try to replace this with calls to the phoenix server
     # to avoid the direct call to BorsNG.ProjectController

        comments: %{},
        statuses: %{},
        files: %{"master" => @def_files,
		 "staging.tmp" => @def_files},
	collaborators: %{},
	pulls: %{},
	pr_commits: %{}
      }})
    # Notify Bors and sync.
    WebhookController.do_webhook(%{
	  body_params: %{
	    "installation" => %{ "id" => @def_inst },
	    "sender" => @def_user,
	    "action" => "created" }}, "github", "installation")
    BorsNG.Worker.SyncerInstallation.wait_hot_spin_xref(@def_inst)
  end

  def prs(repo \\ @def_repo, inst \\ @def_inst) do
    # How can I get both open and unopen PRs?
    BorsNG.GitHub.get_open_prs!({{:installation, inst}, repo})
  end


  """

  alias BorsNG.GitHub.ServerMock
  alias BorsNG.GitHub.Pr
  alias BorsNG.WebhookController

