Skip to content

Commit

Permalink
test: add test coverage for error log action
Browse files Browse the repository at this point in the history
  • Loading branch information
codescape committed Dec 21, 2023
1 parent f7342b4 commit 6afcab6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ category: Administration

* feat: ensure compatibility with Jira 9.12.0
* feat: ensure compatibility with Jira 9.12.1 and 9.4.14
* test: add test coverage for error log action

### [23.11.0] - 2023-11-26

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@ public void shouldExposeTheErrorList() {
assertThat(action.getErrorList(), is(equalTo(scrumPokerErrors)));
}

/* tests for doDefault() */

@Test
public void shouldAlwaysReturnThePageForViewing() {
assertThat(action.doDefault(), is(equalTo(action.SUCCESS)));
}

/* tests for doExecute() */

@Test
Expand Down

0 comments on commit 6afcab6

Please sign in to comment.