Skip to content

Add tests for export endpoints

Codecov / codecov/project failed Oct 29, 2024 in 0s

84.98% (-0.31%) compared to 0290013

View this Pull Request on Codecov

84.98% (-0.31%) compared to 0290013

Details

Codecov Report

Attention: Patch coverage is 82.21477% with 106 lines in your changes missing coverage. Please review.

Project coverage is 84.98%. Comparing base (0290013) to head (c986632).
Report is 10 commits behind head on main.

Files with missing lines Patch % Lines
...Service/ReportExport/TimeEntriesDetailedExport.php 50.74% 33 Missing ⚠️
app/Service/ReportExport/CsvExport.php 47.22% 19 Missing ⚠️
...vice/ReportExport/TimeEntriesDetailedCsvExport.php 0.00% 16 Missing ⚠️
app/Service/TimeEntryAggregationService.php 65.85% 14 Missing ⚠️
...s/V1/TimeEntry/TimeEntryAggregateExportRequest.php 94.06% 7 Missing ⚠️
...uests/V1/TimeEntry/TimeEntryIndexExportRequest.php 92.30% 7 Missing ⚠️
...pp/Http/Controllers/Api/V1/TimeEntryController.php 96.68% 6 Missing ⚠️
app/Models/Tag.php 0.00% 2 Missing ⚠️
app/Models/TimeEntry.php 0.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main     #206      +/-   ##
============================================
- Coverage     85.29%   84.98%   -0.31%     
- Complexity     1157     1261     +104     
============================================
  Files           204      212       +8     
  Lines          6337     6941     +604     
============================================
+ Hits           5405     5899     +494     
- Misses          932     1042     +110     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.