mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Minor FIxes
This commit is contained in:
parent
60e8449118
commit
44761e8d20
@ -125,9 +125,9 @@ class TaskStatusApiTest extends TestCase
|
||||
|
||||
public function testTaskStatusDeletedFromDELETEROute()
|
||||
{
|
||||
$data = [
|
||||
'ids' => [$this->encodePrimaryKey($this->task_status->id)],
|
||||
];
|
||||
// $data = [
|
||||
// 'ids' => [$this->encodePrimaryKey($this->task_status->id)],
|
||||
// ];
|
||||
|
||||
$response = $this->withHeaders([
|
||||
'X-API-SECRET' => config('ninja.api_secret'),
|
||||
@ -135,7 +135,8 @@ class TaskStatusApiTest extends TestCase
|
||||
])->delete('/api/v1/task_statuses/'.$this->encodePrimaryKey($this->task_status->id));
|
||||
|
||||
$arr = $response->json();
|
||||
nlog($arr);
|
||||
// nlog($arr);
|
||||
|
||||
$this->assertTrue($arr['data']['is_deleted']);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user