Fix integration test: Add sourceFileFormat to test activity builder

ActivityControllerIntegrationTest was failing because the helper method
createTestActivity() didn't set the source_file_format field, which
became required after migration V15.

Added sourceFileFormat("FIT") to the Activity builder in the test helper.

Test Results:
-  128 tests passing
-  0 failures
-  0 errors
- 4 tests skipped (expected)

All integration tests now pass with Docker/Testcontainers.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Tim Zöller 2026-01-02 18:03:23 +01:00
parent 534d55d6f3
commit 7ecb5456cc

View file

@ -304,6 +304,7 @@ class ActivityControllerIntegrationTest {
.totalDistance(BigDecimal.valueOf(5000))
.totalDurationSeconds(1800L)
.elevationGain(BigDecimal.valueOf(100))
.sourceFileFormat("FIT")
.build();
}
}