diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2015-03-31 06:00:27 +0300 |
---|---|---|
committer | Thomas Steur <tsteur@users.noreply.github.com> | 2015-03-31 06:00:27 +0300 |
commit | ac677dbe7523cd60d43293b14247d71d75e0e3fa (patch) | |
tree | f81fce326d95a9cf2068b529779f6b8a92fe3dea /tests/PHPUnit/Framework/TestRequest | |
parent | 5bf6f2c09a4098b3b7ef68fed0ffc4a1bbacf286 (diff) |
also remove idSubtable fields
Diffstat (limited to 'tests/PHPUnit/Framework/TestRequest')
-rw-r--r-- | tests/PHPUnit/Framework/TestRequest/Response.php | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/PHPUnit/Framework/TestRequest/Response.php b/tests/PHPUnit/Framework/TestRequest/Response.php index e18b4e4b6e..9c0a9e9dfc 100644 --- a/tests/PHPUnit/Framework/TestRequest/Response.php +++ b/tests/PHPUnit/Framework/TestRequest/Response.php @@ -107,11 +107,6 @@ class Response $apiResponse = preg_replace($regex, 'date=', $apiResponse); } - // if idSubtable is in request URL, make sure idSubtable values are not in any urls - if (!empty($this->requestUrl['idSubtable'])) { - $apiResponse = $this->removeIdSubtableParamFromUrlsInResponse($apiResponse); - } - $apiResponse = $this->normalizePdfContent($apiResponse); $apiResponse = $this->removeXmlFields($apiResponse); $apiResponse = $this->normalizeDecimalFields($apiResponse); @@ -130,11 +125,6 @@ class Response return str_replace('&#039;', "'", $apiResponse); } - private function removeIdSubtableParamFromUrlsInResponse($apiResponse) - { - return preg_replace("/idSubtable=[0-9]+/", 'idSubtable=', $apiResponse); - } - private function removeAllIdsFromXml($apiResponse) { $toRemove = array( |