mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim-api.git
synced 2026-08-19 04:24:01 +00:00
remove slash
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user