| | |
| | | class DevelopmentSimulatorProfileContractTest |
| | | { |
| | | @Test |
| | | void enablesSimulatorSchedulingForDefaultDevelopmentStartup() throws Exception |
| | | void usesNoDeviceProfileByDefault() throws Exception |
| | | { |
| | | var sources = new YamlPropertySourceLoader().load("application", new ClassPathResource("application.yml")); |
| | | Object profiles = sources.get(0).getProperty("spring.profiles.active"); |
| | | |
| | | assertEquals(List.of("druid", "dev-simulator"), List.of(String.valueOf(profiles).split(","))); |
| | | assertEquals(List.of("druid"), List.of(String.valueOf(profiles).split(","))); |
| | | } |
| | | } |