mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Fixes for tests
This commit is contained in:
parent
7f231e952b
commit
c4a205ff0f
@ -14,6 +14,7 @@ namespace Tests\Feature\Export;
|
|||||||
use Tests\TestCase;
|
use Tests\TestCase;
|
||||||
use App\Models\User;
|
use App\Models\User;
|
||||||
use App\Models\Client;
|
use App\Models\Client;
|
||||||
|
use App\Models\Credit;
|
||||||
use League\Csv\Reader;
|
use League\Csv\Reader;
|
||||||
use App\Models\Account;
|
use App\Models\Account;
|
||||||
use App\Models\Company;
|
use App\Models\Company;
|
||||||
@ -253,8 +254,8 @@ class ReportCsvGenerationTest extends TestCase
|
|||||||
'X-API-SECRET' => config('ninja.api_secret'),
|
'X-API-SECRET' => config('ninja.api_secret'),
|
||||||
'X-API-TOKEN' => $this->token,
|
'X-API-TOKEN' => $this->token,
|
||||||
])->post('/api/v1/reports/credits', $data);
|
])->post('/api/v1/reports/credits', $data);
|
||||||
|
|
||||||
|
$response->assertStatus(200);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user