diff --git a/reactive/webflux/authentication/username-password/form/src/integTest/java/example/WebfluxFormApplicationITests.java b/reactive/webflux/authentication/username-password/form/src/integTest/java/example/WebfluxFormApplicationITests.java index c64fa97..47a00d3 100644 --- a/reactive/webflux/authentication/username-password/form/src/integTest/java/example/WebfluxFormApplicationITests.java +++ b/reactive/webflux/authentication/username-password/form/src/integTest/java/example/WebfluxFormApplicationITests.java @@ -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); } diff --git a/reactive/webflux/authentication/username-password/form/src/main/java/sample/IndexController.java b/reactive/webflux/authentication/username-password/form/src/main/java/example/IndexController.java similarity index 92% rename from reactive/webflux/authentication/username-password/form/src/main/java/sample/IndexController.java rename to reactive/webflux/authentication/username-password/form/src/main/java/example/IndexController.java index a715d1b..0e733c8 100644 --- a/reactive/webflux/authentication/username-password/form/src/main/java/sample/IndexController.java +++ b/reactive/webflux/authentication/username-password/form/src/main/java/example/IndexController.java @@ -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; diff --git a/reactive/webflux/authentication/username-password/form/src/main/java/sample/WebfluxFormApplication.java b/reactive/webflux/authentication/username-password/form/src/main/java/example/WebfluxFormApplication.java similarity index 93% rename from reactive/webflux/authentication/username-password/form/src/main/java/sample/WebfluxFormApplication.java rename to reactive/webflux/authentication/username-password/form/src/main/java/example/WebfluxFormApplication.java index 99b860d..6a632a8 100644 --- a/reactive/webflux/authentication/username-password/form/src/main/java/sample/WebfluxFormApplication.java +++ b/reactive/webflux/authentication/username-password/form/src/main/java/example/WebfluxFormApplication.java @@ -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; diff --git a/reactive/webflux/authentication/username-password/form/src/main/java/sample/WebfluxFormSecurityConfiguration.java b/reactive/webflux/authentication/username-password/form/src/main/java/example/WebfluxFormSecurityConfiguration.java similarity index 96% rename from reactive/webflux/authentication/username-password/form/src/main/java/sample/WebfluxFormSecurityConfiguration.java rename to reactive/webflux/authentication/username-password/form/src/main/java/example/WebfluxFormSecurityConfiguration.java index b230216..2c3a781 100644 --- a/reactive/webflux/authentication/username-password/form/src/main/java/sample/WebfluxFormSecurityConfiguration.java +++ b/reactive/webflux/authentication/username-password/form/src/main/java/example/WebfluxFormSecurityConfiguration.java @@ -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;