diff --git a/tests/Feature/Export/ReportCsvGenerationTest.php b/tests/Feature/Export/ReportCsvGenerationTest.php index 28245ab22872..918a8e78d8b7 100644 --- a/tests/Feature/Export/ReportCsvGenerationTest.php +++ b/tests/Feature/Export/ReportCsvGenerationTest.php @@ -14,6 +14,7 @@ namespace Tests\Feature\Export; use Tests\TestCase; use App\Models\User; use App\Models\Client; +use App\Models\Credit; use League\Csv\Reader; use App\Models\Account; use App\Models\Company; @@ -253,8 +254,8 @@ class ReportCsvGenerationTest extends TestCase 'X-API-SECRET' => config('ninja.api_secret'), 'X-API-TOKEN' => $this->token, ])->post('/api/v1/reports/credits', $data); + + $response->assertStatus(200); - - } } \ No newline at end of file