Merge branch 'main' of github.com:cerebrate-project/cerebrate into develop-unstable
commit
ce4448f4e7
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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' => [
|
||||
|
|
Loading…
Reference in New Issue