-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move testDoNotifyCommitWithInvalidApiToken and use JenkinsRule (#1621)
* Remove unused GitSCMTest methods * Add notifyCommit method with token argument Allow callers to provide their own access token * Move testDoNotifyCommitWithInvalidApiToken and use JenkinsRule The GitStepTest already includes logic that uses notifyCommit to start jobs and perform other tests of notifyCommit. Use that logic to replace the mocked testDoNotifyCommitWithInvalidApiToken with a test that uses web requests to a JenkinsRule based test. Prepare for Jetty 12 EE 9 transition. * Move new test to end of file
- Loading branch information
1 parent
1c84367
commit 4b714b6
Showing
4 changed files
with
56 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters