diff --git a/src/HttpBaseTest.php b/src/HttpBaseTest.php index 44a7f7d..cbf7a4f 100644 --- a/src/HttpBaseTest.php +++ b/src/HttpBaseTest.php @@ -119,7 +119,7 @@ private function getMethods(): array protected function getUri(array $query = []) { return !empty($query) - ? PHPUnitUtility::getUri().'?'.http_build_query($query, null, '&') + ? PHPUnitUtility::getUri().'?'.http_build_query($query, '', '&') : PHPUnitUtility::getUri(); } @@ -192,7 +192,7 @@ private function getBodies() { return [ null, - http_build_query($this->getData(), null, '&'), + http_build_query($this->getData(), '', '&'), ]; }