Merge branch 'main' of github.com:cerebrate-project/cerebrate into develop-unstable

pull/93/head
Sami Mokaddem 2022-03-07 14:27:19 +01:00
commit ce4448f4e7
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
2 changed files with 4 additions and 2 deletions

View File

@ -19,9 +19,10 @@
"cakephp/bake": "^2.0.3",
"cakephp/cakephp-codesniffer": "~4.0.0",
"cakephp/debug_kit": "^4.0",
"cebe/php-openapi": "^1.6",
"fzaninotto/faker": "^1.9",
"josegonzalez/dotenv": "^3.2",
"league/openapi-psr7-validator": "^0.16.4",
"league/openapi-psr7-validator": "^0.17",
"phpunit/phpunit": "^8.5",
"psy/psysh": "@stable",
"wiremock-php/wiremock-php": "^2.32"
@ -65,4 +66,4 @@
"sort-packages": true
},
"minimum-stability": "dev"
}
}

View File

@ -56,6 +56,7 @@ trait ApiTestTrait
// somehow this is not set automatically in test environment
$_SERVER['HTTP_AUTHORIZATION'] = $authToken;
$_SERVER['REMOTE_ADDR'] = '127.0.0.1';
$this->configRequest([
'headers' => [