Skip to content

Commit

Permalink
JENKINS-42090
Browse files Browse the repository at this point in the history
follow coding style
  • Loading branch information
fl0l-gouze committed Apr 9, 2018
1 parent 98e7453 commit 05eeb6e
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/test/java/hudson/plugins/claim/ClaimTest.java
Expand Up @@ -234,16 +234,13 @@ public void stickyClaimOnPreviousBuildPropagatesToFollowingFailedBuildsUntilBuil
assertThat(action3.getAssignedBy(), is("user1"));
}


@Test
public void ClaimTestShouldGiveProperURL() {

@Test
public void claimTestShouldGiveProperURL() {
ClaimTestDataPublisher.Data data = new ClaimTestDataPublisher.Data(firstBuild);
//testObjectId now contains junit/ since hudson 1.347
ClaimTestAction acti = new ClaimTestAction(data, "junit/assembly/classTest/unitTest");
assertEquals("wrong url who would not link to test","job/x/1/testReport/junit/assembly/classTest/unitTest", acti.getUrl());


assertEquals("wrong url who would not link to test",
"job/x/1/testReport/junit/assembly/classTest/unitTest", acti.getUrl());
}

private void givenProjectIsSucceeding() {
Expand Down

0 comments on commit 05eeb6e

Please sign in to comment.