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:
parent
534d55d6f3
commit
7ecb5456cc
1 changed files with 1 additions and 0 deletions
|
|
@ -304,6 +304,7 @@ class ActivityControllerIntegrationTest {
|
|||
.totalDistance(BigDecimal.valueOf(5000))
|
||||
.totalDurationSeconds(1800L)
|
||||
.elevationGain(BigDecimal.valueOf(100))
|
||||
.sourceFileFormat("FIT")
|
||||
.build();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue