Skip to content

Commit

Permalink
Polish gh-1325
Browse files Browse the repository at this point in the history
  • Loading branch information
jgrandja committed Aug 16, 2023
1 parent 25c9c2b commit b94ca93
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,7 @@ dependencies {
testImplementation "org.junit.jupiter:junit-jupiter"
testImplementation "net.sourceforge.htmlunit:htmlunit"
}

tasks.named("test") {
useJUnitPlatform()
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ dependencies {
testImplementation "net.sourceforge.htmlunit:htmlunit"
}

test {
tasks.named("test") {
useJUnitPlatform()
}
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public void setUp() {
}

@Test
public void whenLoginSuccessfulThenDisplayNotFoundError() throws IOException {
public void whenLoginSuccessfulThenDisplayBadRequestError() throws IOException {
HtmlPage page = this.webClient.getPage("/");

assertLoginPage(page);
Expand Down

0 comments on commit b94ca93

Please sign in to comment.