Polish gh-1325

This commit is contained in:
Joe Grandja
2023-08-16 09:31:32 -04:00
parent 25c9c2be24
commit b94ca93216
3 changed files with 6 additions and 2 deletions

View File

@@ -25,3 +25,7 @@ dependencies {
testImplementation "org.junit.jupiter:junit-jupiter"
testImplementation "net.sourceforge.htmlunit:htmlunit"
}
tasks.named("test") {
useJUnitPlatform()
}

View File

@@ -31,6 +31,6 @@ dependencies {
testImplementation "net.sourceforge.htmlunit:htmlunit"
}
test {
tasks.named("test") {
useJUnitPlatform()
}

View File

@@ -68,7 +68,7 @@ public class DemoAuthorizationServerApplicationTests {
}
@Test
public void whenLoginSuccessfulThenDisplayNotFoundError() throws IOException {
public void whenLoginSuccessfulThenDisplayBadRequestError() throws IOException {
HtmlPage page = this.webClient.getPage("/");
assertLoginPage(page);