diff --git a/pom.xml b/pom.xml index 037c07ba..c7572253 100644 --- a/pom.xml +++ b/pom.xml @@ -163,6 +163,11 @@ + + + -javaagent:"${settings.localRepository}"/org/jmockit/jmockit/1.41/jmockit-1.41.jar + + org.apache.maven.plugins @@ -187,16 +192,6 @@ ${project.basedir}/checkstyle-suppressions.xml - - org.apache.maven.plugins - maven-surefire-plugin - 2.22.2 - - - -javaagent:"${settings.localRepository}"/org/jmockit/jmockit/1.41/jmockit-1.41.jar - - - diff --git a/src/test/java/io/jenkins/plugins/credentials/secretsmanager/GithubAppCredentialsIT.java b/src/test/java/io/jenkins/plugins/credentials/secretsmanager/GithubAppCredentialsIT.java index 1fa25234..1af6ca5b 100644 --- a/src/test/java/io/jenkins/plugins/credentials/secretsmanager/GithubAppCredentialsIT.java +++ b/src/test/java/io/jenkins/plugins/credentials/secretsmanager/GithubAppCredentialsIT.java @@ -57,7 +57,7 @@ public void shouldSupportListView() { // Then assertThat(list) - .containsOption(APP_ID + "/******", foo.getName()); + .containsOption(foo.getName(), foo.getName()); } @Test