json('GET', '/api/company/search/cief'); $response ->assertStatus(200); } public function testStoreId() { $response = $this->json('POST', '/api/contacts', ['company_id' => '1'], $this->headers()); $response ->assertStatus(201); } // public function testDeleteContacts() // { // // $response = $this->json('DELETE', '/api/contacts/1'); // // $response // ->assertStatus(204); // // } public function testApprove() { $response = $this->json('POST', '/api/contacts/1/request', ['action' => 1]); $response ->assertStatus(200); } }