We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 911d369 commit 6e3d9c0Copy full SHA for 6e3d9c0
2 files changed
config/services.yml
@@ -1,7 +1,6 @@
1
# config/services.yaml
2
parameters:
3
- api_base_url: '%env(API_BASE_URL)%'
4
- env(API_BASE_URL): 'http://api.phplist.local/'
+ api_base_url: '%app.api_base_url%'
5
6
services:
7
_defaults:
phpunit.xml.dist
@@ -5,11 +5,11 @@
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/6.2/phpunit.xsd"
backupGlobals="false"
colors="true"
8
- bootstrap="vendor/autoload.php"
+ bootstrap="tests/bootstrap.php"
9
>
10
<php>
11
- <env name="API_BASE_URL" value="http://api.phplist.local/"/>
12
<ini name="error_reporting" value="-1"/>
13
<server name="KERNEL_CLASS" value="PhpList\Core\Core\ApplicationKernel"/>
+ <server name="APP_ENV" value="test" force="true"/>
14
</php>
15
</phpunit>
0 commit comments