Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.

Commit

Permalink
JENKINS-24478: fix failing due to new jenkins-core dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
simschla committed Feb 13, 2015
1 parent c8cceef commit c773f24
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions pom.xml
Expand Up @@ -90,6 +90,12 @@
<version>${project.parent.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.8.3</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jvnet.hudson.plugins</groupId>
<artifactId>checkstyle</artifactId>
Expand Down
3 changes: 2 additions & 1 deletion src/test/java/hudson/plugins/cigame/GamePublisherTest.java
Expand Up @@ -21,6 +21,7 @@

import org.junit.Test;
import org.jvnet.hudson.test.Bug;
import org.mockito.Mockito;

@SuppressWarnings("unchecked")
public class GamePublisherTest {
Expand All @@ -34,7 +35,7 @@ public void assertScoreCardActionIsAddedToBuild() throws Exception {
assertThat(new GamePublisher().perform(build, new RuleBook(), true, null), is(false));

verify(build).getActions();
verify(actions).add(isA(ScoreCardAction.class));
verify(actions).add(Mockito.isA(ScoreCardAction.class));
verify(build).getChangeSet();
verify(build).getPreviousBuild();
verify(build).getCauses();
Expand Down

0 comments on commit c773f24

Please sign in to comment.