public function __construct() { $this->_controllerUrl = '/crud/stock'; $this->_itemId = '1'; $this->_userId = App_Test_PHPUnit_Framework_TestCase::PROVIDER_COMMERCIAL_USER_ID; parent::__construct(); }
public function __construct() { $this->_controllerUrl = '/crud/report'; $this->_userId = App_Test_PHPUnit_Framework_TestCase::PROVIDER_ENABLER_USER_ID; $this->_queryParams = array('orgId' => App_Test_PHPUnit_Framework_TestCase::CUSTOMER_ORG_ID, 'reportType' => \Application\Model\ReportModel::CONSUMPTION_DAILY); parent::__construct(); }
public function __construct() { $this->_controllerUrl = '/crud/user'; $this->_itemId = App_Test_PHPUnit_Framework_TestCase::CUSTOMER_USER_ID; $this->_userId = App_Test_PHPUnit_Framework_TestCase::PROVIDER_COMMERCIAL_USER_ID; $this->_testDelete = true; parent::__construct(); }
public function __construct() { $this->_controllerUrl = '/core/watcher'; $this->_userId = App_Test_PHPUnit_Framework_TestCase::PROVIDER_COMMERCIAL_USER_ID; $this->_testDelete = true; $this->_testPut = false; parent::__construct(); }
public function __construct() { $this->_controllerUrl = '/crud/supervisiongroup'; $this->_itemId = 'default'; $this->_userId = App_Test_PHPUnit_Framework_TestCase::CUSTOMER_USER_ID; $this->_testDelete = true; parent::__construct(); }
public function __construct() { $this->_controllerUrl = '/crud/alarmrule'; $this->_itemId = 'alarmRule01'; $this->_userId = App_Test_PHPUnit_Framework_TestCase::PROVIDER_ENABLER_USER_ID; $this->_testDelete = true; parent::__construct(); }
public function __construct() { $this->_controllerUrl = '/crud/organization'; $this->_itemId = App_Test_PHPUnit_Framework_TestCase::CUSTOMER_ORG_ID; $this->_providerId = App_Test_PHPUnit_Framework_TestCase::PROVIDER_COMMERCIAL_ORG_ID; $this->_userId = App_Test_PHPUnit_Framework_TestCase::PROVIDER_COMMERCIAL_USER_ID; $this->_queryParams = array('type' => 'customer'); parent::__construct(); }
public function __construct() { $this->_controllerUrl = '/external/customer'; $this->_itemId = \App_Test_PHPUnit_Framework_TestCase::CUSTOMER_ORG_ID_2; $this->_userId = \App_Test_PHPUnit_Framework_TestCase::PROVIDER_COMMERCIAL_API_ID; $this->_authType = \App_Controller_Plugin_Auth::AUTH_TYPE_EXTERNAL; $this->_includeCountParam = false; parent::__construct(); }
public function __construct() { $this->_controllerUrl = '/externalr12/supplservices'; $this->_itemId = 1; $this->_userId = \App_Test_PHPUnit_Framework_TestCase::PROVIDER_ENABLER_USER_ID; $this->_authType = \App_Controller_Plugin_Auth::AUTH_TYPE_EXTERNAL; $this->_includeCountParam = false; $this->_testDelete = true; parent::__construct(); }
public function __construct() { $this->_controllerUrl = '/externalr12/commercialgroup'; $this->_itemId = \App_Test_PHPUnit_Framework_TestCase::AGGREGATOR_ORG_ID; $this->_userId = \App_Test_PHPUnit_Framework_TestCase::CUSTOMER_API_ID; $this->_authType = \App_Controller_Plugin_Auth::AUTH_TYPE_EXTERNAL; $this->_includeCountParam = false; $this->_testDelete = false; parent::__construct(); }
public function __construct() { $this->_downloadTokenSrv = Download\Service\DownloadTokenService::getInstance(); $this->_controllerUrl = '/download'; $this->_userId = App_Test_PHPUnit_Framework_TestCase::PROVIDER_ENABLER_USER_ID; $this->_params = array('orgId' => App_Test_PHPUnit_Framework_TestCase::CUSTOMER_ORG_ID); // Prepare report download $this->_downloadToken = new \Download\Model\DownloadTokenModel(); $this->_downloadToken->controller = 'download-report'; $this->_downloadToken->action = 'download'; parent::__construct(); }
public function testGet() { $result = parent::testGet(); $this->assertNotNull($result->tariffPlanServices); // Check dynamic $this->assertNotNull($result->tariffPlanServices->defaultSms); $this->assertNotNull($result->tariffPlanServices->defaultSms->dynamic); $this->assertTrue(is_bool($result->tariffPlanServices->defaultSms->dynamic)); // Check pool $this->assertNotNull($result->tariffPlanServices->defaultSms); $this->assertNotNull($result->tariffPlanServices->defaultSms->pool); $this->assertTrue(is_bool($result->tariffPlanServices->defaultSms->pool)); }
/** * @depends testPost */ public function testDelete($data) { return parent::testDelete($data); }
public function setUp() { $this->_queryParams = array(); $this->data = array('limitVoice' => array('enabled' => 'true', 'value' => 1), 'customerId' => \App_Test_PHPUnit_Framework_TestCase::CUSTOMER_ORG_ID, 'billingAccountId' => 0, 'description' => '', 'name' => 'name3423452', 'servicePackId' => '2', 'limitTotal' => array('enabled' => 'true', 'value' => 1), 'limitSms' => array('enabled' => 'true', 'value' => 1), 'limitData' => array('enabled' => 'true', 'value' => 1)); parent::setUp(); }
public function testGet($id = null) { return parent::testGet($id); }
/** * @depends testGet */ public function testPost($data) { return parent::testPost($data); }
public function testPost($data) { if (!$data) { $data = array(\Application\Model\ReportModel::CONSUMPTION_DAILY => array('orgId' => App_Test_PHPUnit_Framework_TestCase::CUSTOMER_ORG_ID, 'start' => '2011-12-9', 'end' => '2011-12-12')); } return parent::testPost($data); }