reactive/webflux/authentication/username-password/form

This commit is contained in:
Rob Winch 2020-07-27 16:20:22 -05:00
parent 9222ea9508
commit a19d2a6aa8
4 changed files with 8 additions and 8 deletions

View File

@ -18,7 +18,7 @@ package example;
import com.gargoylesoftware.htmlunit.BrowserVersion;
import example.pages.IndexPage;
import example.pages.LoginPage;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.htmlunit.HtmlUnitDriver;
@ -40,7 +40,7 @@ public class WebfluxFormApplicationITests {
@LocalServerPort
int port;
@BeforeAll
@BeforeEach
void setup() {
this.driver = new HtmlUnitDriver(BrowserVersion.CHROME);
}

View File

@ -1,5 +1,5 @@
/*
* Copyright 2002-2017 the original author or authors.
* Copyright 2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -14,7 +14,7 @@
* limitations under the License.
*/
package sample;
package example;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

View File

@ -1,5 +1,5 @@
/*
* Copyright 2002-2017 the original author or authors.
* Copyright 2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -14,7 +14,7 @@
* limitations under the License.
*/
package sample;
package example;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

View File

@ -1,5 +1,5 @@
/*
* Copyright 2002-2019 the original author or authors.
* Copyright 2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -14,7 +14,7 @@
* limitations under the License.
*/
package sample;
package example;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;