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

Commit

Permalink
Testing correct bug reported in #48
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasbjerre committed Aug 13, 2015
1 parent 1c7904f commit 7e125b1
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,14 @@ public void testThatAUrlIsOnlyInvokedForConfiguredEvents() {
}

@Test
public void testThatClosedPullRequestsAreNotIgnoredForOpenedEvent() {
public void testThatClosedPullRequestsAreNotIgnoredForMergedEvent() {
prnfsTestBuilder()
.isLoggedInAsAdmin()
.withNotification(
notificationBuilder().withFieldValue(AdminFormValues.FIELDS.url, "http://bjurr.se/")
.withFieldValue(AdminFormValues.FIELDS.events, OPENED.name()).build()).store()
.withFieldValue(AdminFormValues.FIELDS.events, MERGED.name()).build()).store()
.trigger(pullRequestEventBuilder() //
.beingClosed().withToRef(pullRequestRefBuilder()).withPullRequestAction(OPENED).build())
.beingClosed().withToRef(pullRequestRefBuilder()).withPullRequestAction(MERGED).build())
.invokedOnlyUrl("http://bjurr.se/");
}

Expand Down

0 comments on commit 7e125b1

Please sign in to comment.