diff --git a/tests/Unit/DeliveryinfoTest.php b/tests/Unit/DeliveryinfoTest.php index 93c193b..8d927f2 100644 --- a/tests/Unit/DeliveryinfoTest.php +++ b/tests/Unit/DeliveryinfoTest.php @@ -22,31 +22,31 @@ class DeliveryinfoTest extends TestCase $response->assertStatus(200); } - // public function testPOST() - // { - // $response = $this->json('POST', '/api/company/com_id/deliveryinfo', [ + public function testPOST() + { + $response = $this->json('POST', '/api/company/com_id/deliveryinfo', [ - // 'branch' => 'Testing', - // 'deli_info' => 'Testing', - // 'address' => 'Testing', - // 'city' => 'Testing', - // 'postcode' => '12345', - // 'state' => 'Testing', - // 'country' => 'Testing', - // 'contact_person' => 'Testing', - // 'contact_person_no' => '12345', + 'branch' => 'Testing', + 'deli_info' => 'Testing', + 'address' => 'Testing', + 'city' => 'Testing', + 'postcode' => '12345', + 'state' => 'Testing', + 'country' => 'Testing', + 'contact_person' => 'Testing', + 'contact_person_no' => '12345', - // ]); + ]); - // $response->assertStatus(201); - // } + $response->assertStatus(201); + } - // public function testDELETE() - // { - // $response = $this->json('DELETE', '/api/company/4/deliveryinfo'); + public function testDELETE() + { + $response = $this->json('DELETE', '/api/company/4/deliveryinfo'); - // $response->assertStatus(204); - // } + $response->assertStatus(204); + } public function testPUT() {