diff --git a/catalyst/api-bundle/Command/TestCommand.php b/catalyst/api-bundle/Command/TestCommand.php index 06e7ceb7..8c6faa01 100644 --- a/catalyst/api-bundle/Command/TestCommand.php +++ b/catalyst/api-bundle/Command/TestCommand.php @@ -39,8 +39,9 @@ class TestCommand extends Command // test $api->get('/capi/test'); - /* // TODO: shift this out of the bundle, since it's project specific + + // warranty register $serial = 'AJ34LJADR12134LKJL'; $plate_num = 'XEN918'; @@ -48,22 +49,23 @@ class TestCommand extends Command 'serial' => $serial, 'plate_number' => $plate_num, 'warranty_class' => 'private', + /* 'battery_model_id' => 438, 'battery_size_id' => 1171, + */ + 'sku' => 'WMEB24CB-CPN00-LX', 'date_purchase' => '20181001', 'date_expire' => '20191001', ]; $api->post('/capi/warranties', $params); - */ // get all warranties $api->get('/capi/warranties'); + /* - // warranty find $api->get('/capi/warranties/' . $serial); - */ // warranty claim $id = 86811; @@ -73,11 +75,8 @@ class TestCommand extends Command ]; $api->post('/capi/warranties/' . $id . '/claim', $params); - /* - // plate warranty $api->get('/capi/plates/' . $plate_num . '/warranties'); - */ // battery $api->get('/capi/battery_brands'); @@ -87,5 +86,6 @@ class TestCommand extends Command // vehicle // $api->get('/capi/vehicle_manufacturers'); // $api->get('/capi/vehicles'); + */ } }