remove slash

This commit is contained in:
Zain Fauzan Rofie Azizi
2018-05-04 16:19:21 +08:00
parent 19f97d0662
commit f7d468e2d5
+20 -20
View File
@@ -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()
{