Skip to content
Permalink
Browse files

JENKINS-24478: fix failing due to new jenkins-core dependencies

  • Loading branch information...
simschla committed Feb 13, 2015
1 parent c8cceef commit c773f247881b4d59c67f2ef2d8e5dd49d7853774
Showing with 8 additions and 1 deletion.
  1. +6 −0 pom.xml
  2. +2 −1 src/test/java/hudson/plugins/cigame/GamePublisherTest.java
@@ -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>
@@ -21,6 +21,7 @@

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

@SuppressWarnings("unchecked")
public class GamePublisherTest {
@@ -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();

0 comments on commit c773f24

Please sign in to comment.
You can’t perform that action at this time.