Polish gh-1325
This commit is contained in:
@@ -25,3 +25,7 @@ dependencies {
|
||||
testImplementation "org.junit.jupiter:junit-jupiter"
|
||||
testImplementation "net.sourceforge.htmlunit:htmlunit"
|
||||
}
|
||||
|
||||
tasks.named("test") {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
|
||||
@@ -31,6 +31,6 @@ dependencies {
|
||||
testImplementation "net.sourceforge.htmlunit:htmlunit"
|
||||
}
|
||||
|
||||
test {
|
||||
tasks.named("test") {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user