* @copyright 2021 DIGITAL RETAIL TECHNOLOGIES SL * @license https://opensource.org/licenses/MIT The MIT License * * Don't forget to prefix your containers with your own identifier * to avoid any conflicts with others containers. */ class RetailcrmApiPaginatedRequestTest extends RetailcrmApiRequestTestAbstract { public function doApiHistoryRequest($limit, $pageLimit) { $request = new RetailcrmApiPaginatedRequest(); return $request ->setApi($this->apiMock) ->setMethod('ordersHistory') ->setParams([[], '{{page}}']) ->setDataKey('history') ->setLimit($limit) ->setPageLimit($pageLimit) ->execute() ->getData() ; } }