1
0
Fork 0
mirror of synced 2024-06-26 10:10:57 +12:00

tests: clean up travis file

This commit is contained in:
Torsten Dittmann 2021-04-28 12:20:32 +02:00
parent ebd41c784f
commit cac9875b97
2 changed files with 2 additions and 2 deletions

View file

@ -26,9 +26,9 @@ before_install:
- docker buildx create --use
- chmod -R u+x ./.travis-ci
- export COMPOSE_INTERACTIVE_NO_CLI=1
- ./.travis-ci/prepare.sh
install:
- ./.travis-ci/prepare.sh
- docker-compose up -d
- sleep 10

View file

@ -156,7 +156,7 @@ class Client
*/
public function call(string $method, string $path = '', array $headers = [], array $params = [])
{
usleep(128);
usleep(50000);
$headers = array_merge($this->headers, $headers);
$ch = curl_init($this->endpoint . $path . (($method == self::METHOD_GET && !empty($params)) ? '?' . http_build_query($params) : ''));
$responseHeaders = [];