Commit 1308a8a0 authored by Valery Sizov's avatar Valery Sizov

GHE: fix

parent 9de15c1e
......@@ -11,6 +11,7 @@ describe Import::GithubController do
it "updates access token" do
token = "asdasd12345"
Gitlab::GithubImport::Client.any_instance.stub(:get_token).and_return(token)
Gitlab::GithubImport::Client.any_instance.stub(:github_options).and_return({})
Gitlab.config.omniauth.providers << OpenStruct.new(app_id: "asd123", app_secret: "asd123", name: "github")
get :callback
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment