Clean up tests

This commit is contained in:
David Bomba 2023-08-18 23:56:07 +10:00
parent e819b9ba62
commit 2b6c92a711

View File

@ -717,16 +717,16 @@ class ReportCsvGenerationTest extends TestCase
$response->assertStatus(409);
sleep(1);
// sleep(1);
$response = $this->withHeaders([
'X-API-SECRET' => config('ninja.api_secret'),
'X-API-TOKEN' => $this->token,
])->postJson('/api/v1/reports/preview/'.$arr['message']);
// $response = $this->withHeaders([
// 'X-API-SECRET' => config('ninja.api_secret'),
// 'X-API-TOKEN' => $this->token,
// ])->postJson('/api/v1/reports/preview/'.$arr['message']);
$response->assertStatus(200);
// $response->assertStatus(200);
nlog($response->json());
// nlog($response->json());
}