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 init() { $this->_service = DownloadReportService::getInstance(); $this->_downloadTokenSrv = Download\Service\DownloadTokenService::getInstance(); }
public function init() { $this->_prebillSrv = PreBillService::getInstance(); $this->_downloadTokenSrv = Download\Service\DownloadTokenService::getInstance(); }