BAEL-17361 Slice 11 | The top 100 articles should have their own package in the module (#7683)

This commit is contained in:
Dhawal Kapil 2019-09-05 20:20:14 +05:30 committed by Josh Cummings
parent 8c11eeb20e
commit b04f8dad95
5 changed files with 8 additions and 6 deletions

View File

@ -1,4 +1,4 @@
package com.baeldung.java8;
package com.baeldung.java8.streams;
import org.junit.Test;

View File

@ -1,4 +1,4 @@
package com.baeldung.java8;
package com.baeldung.java8.streams;
import com.baeldung.stream.Product;
import org.junit.Before;

View File

@ -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);

View File

@ -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;

View File

@ -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 {