Skip to content

Add tests for export endpoints

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

82.21% of diff hit (target 85.29%)

View this Pull Request on Codecov

82.21% 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 60 in app/Models/Tag.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/Models/Tag.php#L60

Added line #L60 was not covered by tests

Check warning on line 62 in app/Models/Tag.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/Models/Tag.php#L62

Added line #L62 was not covered by tests

Check warning on line 211 in app/Models/TimeEntry.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/Models/TimeEntry.php#L211

Added line #L211 was not covered by tests

Check warning on line 213 in app/Models/TimeEntry.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/Models/TimeEntry.php#L213

Added line #L213 was not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/Service/ReportExport/CsvExport.php#L75-L78

Added lines #L75 - L78 were not covered by tests