Skip to content

Instantly share code, notes, and snippets.

@singh1114
Created November 24, 2019 18:42
Show Gist options
  • Save singh1114/df676e3dae7ab7ccb48e64574dd94916 to your computer and use it in GitHub Desktop.
Save singh1114/df676e3dae7ab7ccb48e64574dd94916 to your computer and use it in GitHub Desktop.
package io.singh1114.springboottut;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;
import org.springframework.context.annotation.PropertySource;
@Configuration
@ComponentScan("io.singh1114.springboottut")
@Profile("test")
@PropertySource(value = {"classpath:application-test.properties", "classpath:application.properties"})
public class AppConfigurationTest {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment