Skip to content

Commit 3b6ae96

Browse files
phpunit dist extension
1 parent 7079981 commit 3b6ae96

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

.env.test

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
APP_ENV=test
33
KERNEL_CLASS='App\Shared\Infrastructure\Kernel'
44
APP_SECRET='$ecretf0rt3st'
5-
SYMFONY_DEPRECATIONS_HELPER=999999
5+
SYMFONY_DEPRECATIONS_HELPER=disabled
66
PANTHER_APP_ENV=panther
77
PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots

phpunit.xml.dist

+1-4
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,7 @@
3333
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
3434
</listeners>
3535

36-
<!-- Run `composer require symfony/panther` before enabling this extension -->
37-
<!--
3836
<extensions>
39-
<extension class="Symfony\Component\Panther\ServerExtension" />
37+
<extension class="DAMA\DoctrineTestBundle\PHPUnit\PHPUnitExtension" />
4038
</extensions>
41-
-->
4239
</phpunit>

tests/Functional/Controller/HealthCheckActionTest.php renamed to tests/Functional/Shared/Infrastructure/Controller/HealthCheckActionTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace App\Tests\Functional\Controller;
3+
namespace App\Tests\Functional\Shared\Infrastructure\Controller;
44

55
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
66
use Symfony\Component\HttpFoundation\Request;

0 commit comments

Comments
 (0)