Skip to content
This repository has been archived by the owner on Aug 9, 2021. It is now read-only.

Commit

Permalink
fix test suite.
Browse files Browse the repository at this point in the history
  • Loading branch information
AnalogJ committed Jul 22, 2019
1 parent 7464d43 commit 22140e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/scm/scm_github_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ func TestScmGithub_CheckoutPullRequestPayload(t *testing.T) {
mockConfig.EXPECT().IsSet("scm_github_access_token").Return(true)
mockConfig.EXPECT().IsSet("scm_github_api_endpoint").Return(false)
mockConfig.EXPECT().GetString("scm_github_access_token").Return("")
mockConfig.EXPECT().GetString("scm_github_access_token_type").Return("user")
mockConfig.EXPECT().IsSet("scm_git_parent_path").Return(false)
mockConfig.EXPECT().GetString("scm_repo_full_name").Return("AnalogJ/cookbook_analogj_test").MinTimes(1)
mockConfig.EXPECT().GetInt("scm_pull_request").Return(12)
Expand Down

0 comments on commit 22140e5

Please sign in to comment.