BAEL-17361 Slice 11 | The top 100 articles should have their own package in the module (#7683)
This commit is contained in:
parent
8c11eeb20e
commit
b04f8dad95
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.java8;
|
||||
package com.baeldung.java8.streams;
|
||||
|
||||
import org.junit.Test;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.java8;
|
||||
package com.baeldung.java8.streams;
|
||||
|
||||
import com.baeldung.stream.Product;
|
||||
import org.junit.Before;
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.springbootsecurity.basic_auth;
|
||||
package com.baeldung.springbootsecurity.autoconfig;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
|
@ -7,7 +7,7 @@ import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfi
|
|||
@SpringBootApplication(exclude = {
|
||||
SecurityAutoConfiguration.class
|
||||
// ,ManagementWebSecurityAutoConfiguration.class
|
||||
}, scanBasePackages = "com.baeldung.springbootsecurity.basic_auth")
|
||||
}, scanBasePackages = "com.baeldung.springbootsecurity.autoconfig")
|
||||
public class SpringBootSecurityApplication {
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(SpringBootSecurityApplication.class, args);
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.springbootsecurity.basic_auth.config;
|
||||
package com.baeldung.springbootsecurity.autoconfig.config;
|
||||
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder;
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.springbootsecurity.basic_auth;
|
||||
package com.baeldung.springbootsecurity.autoconfig.config;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertNull;
|
||||
|
@ -18,6 +18,8 @@ import org.springframework.boot.web.server.LocalServerPort;
|
|||
import org.springframework.http.HttpStatus;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.test.context.junit4.SpringRunner;
|
||||
|
||||
import com.baeldung.springbootsecurity.autoconfig.SpringBootSecurityApplication;
|
||||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest(webEnvironment = RANDOM_PORT, classes = SpringBootSecurityApplication.class)
|
||||
public class BasicConfigurationIntegrationTest {
|
Loading…
Reference in New Issue