Skip to content

Commit

Permalink
ARKANE-768 also adapt document mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
alpa-coder committed Apr 23, 2019
1 parent e46e100 commit 5f53aa6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public DiscussionItemBuilder isPullRequest(boolean isPullRequest) {
public DiscussionItemBuilder isMerged(boolean isMerged) {
final Elements mergedElements = mock(Elements.class);
when(mergedElements.isEmpty()).thenReturn(!isMerged);
when(element.select(".discussion-item span[title=State: merged]")).thenReturn(mergedElements);
when(element.select(".discussion-item span[title=Status: merged]")).thenReturn(mergedElements);
return this;
}

Expand Down

0 comments on commit 5f53aa6

Please sign in to comment.