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