Skip to content

Commit abcbe22

Browse files
committed
Set environment variables comment
1 parent 1123e9b commit abcbe22

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

phpunit.xml.dist

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,7 @@
1010
<php>
1111
<ini name="error_reporting" value="-1" />
1212
<server name="KERNEL_CLASS" value="App\Kernel" />
13-
<!--
14-
TODO: if you don't define APP_SECRET env var, you see this error:
15-
1) App\Tests\Controller\Admin\BlogControllerTest::testAccessDeniedForRegularUsers
16-
with data set #0 ('GET', '/en/admin/post/')
17-
Symfony\Component\DependencyInjection\Exception\EnvNotFoundException:
18-
Environment variable not found: "APP_SECRET".
19-
-->
13+
<!-- Configure here all needed environment variables for 'test' env -->
2014
<env name="APP_SECRET" value="5a79a1c866efef9ca1800f971d689f3e"/>
2115
<env name="DATABASE_URL" value="sqlite:///var/data/blog_test.sqlite"/>
2216
</php>

0 commit comments

Comments
 (0)