Fix test errors #31
1 changed files with 4 additions and 1 deletions
|
|
@ -27,12 +27,16 @@ import static org.junit.jupiter.api.Assertions.*;
|
||||||
/**
|
/**
|
||||||
* Manual test for ActivityImageService.
|
* Manual test for ActivityImageService.
|
||||||
* These tests are disabled by default and should only be run manually.
|
* These tests are disabled by default and should only be run manually.
|
||||||
|
*
|
||||||
|
* To run this test manually:
|
||||||
|
* mvn test -Dtest=ActivityImageServiceTest
|
||||||
*/
|
*/
|
||||||
@SpringBootTest(properties = {
|
@SpringBootTest(properties = {
|
||||||
"fitpub.image.osm-tiles.enabled=true"
|
"fitpub.image.osm-tiles.enabled=true"
|
||||||
})
|
})
|
||||||
@ActiveProfiles("test")
|
@ActiveProfiles("test")
|
||||||
@Import(TestcontainersConfiguration.class)
|
@Import(TestcontainersConfiguration.class)
|
||||||
|
@Disabled("Manual test - run explicitly when needed")
|
||||||
class ActivityImageServiceTest {
|
class ActivityImageServiceTest {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
|
|
@ -55,7 +59,6 @@ class ActivityImageServiceTest {
|
||||||
* mvn test -Dtest=ActivityImageServiceTest#testGenerateActivityImage_Manual
|
* mvn test -Dtest=ActivityImageServiceTest#testGenerateActivityImage_Manual
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
@Disabled("Manual test - run explicitly when needed")
|
|
||||||
@DisplayName("Generate activity image from test FIT file")
|
@DisplayName("Generate activity image from test FIT file")
|
||||||
void testGenerateActivityImage_Manual() throws Exception {
|
void testGenerateActivityImage_Manual() throws Exception {
|
||||||
// Load test FIT file
|
// Load test FIT file
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue