mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-11 05:36:07 +10:00
GHE: fix
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user