Commit 281a540c3c8cfe28c46adc56b6cf28e96763bd57
1 parent
05404d87
TB-43: Disable check updates in test mode. Fixed windows install/uninstall package scripts
Showing
5 changed files
with
5 additions
and
4 deletions
... | ... | @@ -89,7 +89,7 @@ import static org.springframework.test.web.servlet.setup.MockMvcBuilders.webAppC |
89 | 89 | @ActiveProfiles("test") |
90 | 90 | @RunWith(SpringJUnit4ClassRunner.class) |
91 | 91 | @ContextConfiguration(classes=AbstractControllerTest.class, loader=SpringApplicationContextLoader.class) |
92 | -@TestPropertySource("classpath:cassandra-test.properties") | |
92 | +@TestPropertySource(locations = {"classpath:cassandra-test.properties", "classpath:thingsboard-test.properties"}) | |
93 | 93 | @DirtiesContext(classMode = DirtiesContext.ClassMode.AFTER_CLASS) |
94 | 94 | @Configuration |
95 | 95 | @EnableAutoConfiguration | ... | ... |
... | ... | @@ -43,7 +43,7 @@ import static org.junit.Assert.assertNotNull; |
43 | 43 | @ActiveProfiles("default") |
44 | 44 | @RunWith(SpringJUnit4ClassRunner.class) |
45 | 45 | @ContextConfiguration(classes= MqttTelemetryIntergrationTest.class, loader=SpringApplicationContextLoader.class) |
46 | -@TestPropertySource("classpath:cassandra-test.properties") | |
46 | +@TestPropertySource(locations = {"classpath:cassandra-test.properties", "classpath:thingsboard-test.properties"}) | |
47 | 47 | @DirtiesContext(classMode = DirtiesContext.ClassMode.AFTER_CLASS) |
48 | 48 | @Configuration |
49 | 49 | @EnableAutoConfiguration | ... | ... |
1 | +updates.enabled=false | |
\ No newline at end of file | ... | ... |