Skip to content

Commit

Permalink
Merge pull request #271 from gocd-contrib/dependabot/gradle/org.mocki…
Browse files Browse the repository at this point in the history
…to-mockito-core-5.3.1

Bump org.mockito:mockito-core from 4.11.0 to 5.3.1
  • Loading branch information
chadlwilson authored Apr 28, 2023
2 parents 4ba06b3 + 9790e68 commit 6b845d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ dependencies {
implementation group: 'com.squareup.okhttp3', name: 'okhttp', version: '4.11.0'

testImplementation project.deps.gocdPluginApi
testImplementation group: 'org.mockito', name: 'mockito-core', version: '4.11.0'
testImplementation group: 'org.mockito', name: 'mockito-core', version: '5.3.1'
testImplementation group: 'org.hamcrest', name: 'hamcrest-library', version: '2.2'
testImplementation group: 'org.skyscreamer', name: 'jsonassert', version: '1.5.1'
testImplementation group: 'org.jsoup', name: 'jsoup', version: '1.15.4'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public void shouldReturnValidationFailedStatusForInvalidAuthConfig() throws Exce

@Test
public void shouldReturnSuccessResponseOnSuccessfulVerification() throws Exception {
final GitHubConfiguration gitHubConfiguration = mock(GitHubConfiguration.class);
final GitHubConfiguration gitHubConfiguration = GitHubConfiguration.fromJSON("{ \"ClientId\": \"id\", \"ClientSecret\": \"secret\", \"PersonalAccessToken\": \"pat\"}");

when(request.githubConfiguration()).thenReturn(gitHubConfiguration);

Expand Down

0 comments on commit 6b845d2

Please sign in to comment.