Fixes for tests
This commit is contained in:
parent
cf023a100e
commit
376a385675
|
|
@ -525,15 +525,6 @@ class ClientApiTest extends TestCase
|
||||||
|
|
||||||
public function testDocumentValidationPutFails()
|
public function testDocumentValidationPutFails()
|
||||||
{
|
{
|
||||||
$data = [
|
|
||||||
'name' => 'name of client',
|
|
||||||
'documents' => 'wut',
|
|
||||||
];
|
|
||||||
|
|
||||||
$response = $this->withHeaders([
|
|
||||||
'X-API-TOKEN' => $this->token,
|
|
||||||
])->putJson("/api/v1/clients/{$this->client->hashed_id}", $data)
|
|
||||||
->assertStatus(422);
|
|
||||||
|
|
||||||
$data = [
|
$data = [
|
||||||
'name' => 'name of client',
|
'name' => 'name of client',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue