Skip to content

Commit bcfdd4b

Browse files
committed
minor #630 Set environment variables comment for test (yceruto)
This PR was merged into the master branch. Discussion ---------- Set environment variables comment for test Fix #627 (comment) Commits ------- abcbe22 Set environment variables comment
2 parents 2fbc7f7 + abcbe22 commit bcfdd4b

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)