Skip to content

Add tests for export endpoints

Codecov / codecov/patch succeeded Oct 29, 2024 in 1s

95.13% of diff hit (target 85.29%)

View this Pull Request on Codecov

95.13% of diff hit (target 85.29%)

Annotations

Check warning on line 172 in app/Http/Controllers/Api/V1/TimeEntryController.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/Http/Controllers/Api/V1/TimeEntryController.php#L172

Added line #L172 was not covered by tests

Check warning on line 201 in app/Http/Controllers/Api/V1/TimeEntryController.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/Http/Controllers/Api/V1/TimeEntryController.php#L201

Added line #L201 was not covered by tests

Check warning on line 206 in app/Http/Controllers/Api/V1/TimeEntryController.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/Http/Controllers/Api/V1/TimeEntryController.php#L206

Added line #L206 was not covered by tests

Check warning on line 322 in app/Http/Controllers/Api/V1/TimeEntryController.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/Http/Controllers/Api/V1/TimeEntryController.php#L322

Added line #L322 was not covered by tests

Check warning on line 375 in app/Http/Controllers/Api/V1/TimeEntryController.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/Http/Controllers/Api/V1/TimeEntryController.php#L375

Added line #L375 was not covered by tests

Check warning on line 388 in app/Http/Controllers/Api/V1/TimeEntryController.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/Http/Controllers/Api/V1/TimeEntryController.php#L388

Added line #L388 was not covered by tests

Check warning on line 63 in app/Http/Requests/V1/TimeEntry/TimeEntryAggregateExportRequest.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/Http/Requests/V1/TimeEntry/TimeEntryAggregateExportRequest.php#L63

Added line #L63 was not covered by tests

Check warning on line 75 in app/Http/Requests/V1/TimeEntry/TimeEntryAggregateExportRequest.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/Http/Requests/V1/TimeEntry/TimeEntryAggregateExportRequest.php#L75

Added line #L75 was not covered by tests

Check warning on line 84 in app/Http/Requests/V1/TimeEntry/TimeEntryAggregateExportRequest.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/Http/Requests/V1/TimeEntry/TimeEntryAggregateExportRequest.php#L84

Added line #L84 was not covered by tests

Check warning on line 96 in app/Http/Requests/V1/TimeEntry/TimeEntryAggregateExportRequest.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/Http/Requests/V1/TimeEntry/TimeEntryAggregateExportRequest.php#L96

Added line #L96 was not covered by tests

Check warning on line 108 in app/Http/Requests/V1/TimeEntry/TimeEntryAggregateExportRequest.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/Http/Requests/V1/TimeEntry/TimeEntryAggregateExportRequest.php#L108

Added line #L108 was not covered by tests

Check warning on line 120 in app/Http/Requests/V1/TimeEntry/TimeEntryAggregateExportRequest.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/Http/Requests/V1/TimeEntry/TimeEntryAggregateExportRequest.php#L120

Added line #L120 was not covered by tests

Check warning on line 131 in app/Http/Requests/V1/TimeEntry/TimeEntryAggregateExportRequest.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/Http/Requests/V1/TimeEntry/TimeEntryAggregateExportRequest.php#L131

Added line #L131 was not covered by tests

Check warning on line 42 in app/Http/Requests/V1/TimeEntry/TimeEntryIndexExportRequest.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/Http/Requests/V1/TimeEntry/TimeEntryIndexExportRequest.php#L42

Added line #L42 was not covered by tests

Check warning on line 55 in app/Http/Requests/V1/TimeEntry/TimeEntryIndexExportRequest.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/Http/Requests/V1/TimeEntry/TimeEntryIndexExportRequest.php#L55

Added line #L55 was not covered by tests

Check warning on line 68 in app/Http/Requests/V1/TimeEntry/TimeEntryIndexExportRequest.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/Http/Requests/V1/TimeEntry/TimeEntryIndexExportRequest.php#L68

Added line #L68 was not covered by tests

Check warning on line 81 in app/Http/Requests/V1/TimeEntry/TimeEntryIndexExportRequest.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/Http/Requests/V1/TimeEntry/TimeEntryIndexExportRequest.php#L81

Added line #L81 was not covered by tests

Check warning on line 94 in app/Http/Requests/V1/TimeEntry/TimeEntryIndexExportRequest.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/Http/Requests/V1/TimeEntry/TimeEntryIndexExportRequest.php#L94

Added line #L94 was not covered by tests

Check warning on line 134 in app/Http/Requests/V1/TimeEntry/TimeEntryIndexExportRequest.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/Http/Requests/V1/TimeEntry/TimeEntryIndexExportRequest.php#L134

Added line #L134 was not covered by tests

Check warning on line 136 in app/Http/Requests/V1/TimeEntry/TimeEntryIndexExportRequest.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/Http/Requests/V1/TimeEntry/TimeEntryIndexExportRequest.php#L136

Added line #L136 was not covered by tests

Check warning on line 115 in app/Service/ReportExport/CsvExport.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/Service/ReportExport/CsvExport.php#L115

Added line #L115 was not covered by tests

Check warning on line 71 in app/Service/ReportExport/TimeEntriesDetailedExport.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/Service/ReportExport/TimeEntriesDetailedExport.php#L71

Added line #L71 was not covered by tests

Check warning on line 145 in app/Service/ReportExport/TimeEntriesDetailedExport.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/Service/ReportExport/TimeEntriesDetailedExport.php#L145

Added line #L145 was not covered by tests

Check warning on line 248 in app/Service/TimeEntryAggregationService.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/Service/TimeEntryAggregationService.php#L244-L248

Added lines #L244 - L248 were not covered by tests

Check warning on line 250 in app/Service/TimeEntryAggregationService.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/Service/TimeEntryAggregationService.php#L250

Added line #L250 was not covered by tests