Skip to content

Commit 8ce4c2f

Browse files
committed
Specify test kernel
LogicException: You must set the KERNEL_CLASS environment variable to the fully-qualified class name of your Kernel in phpunit.xml / phpunit.xml.dist or override the "Hackzilla\Bundle\TicketBundle\Tests\User\UserManagerTest::createKernel()" or "Hackzilla\Bundle\TicketBundle\Tests\User\UserManagerTest::getKernelClass()" method. 19
1 parent 90b7574 commit 8ce4c2f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

phpunit.xml.dist

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
<env name="SYMFONY_DEPRECATIONS_HELPER" value="max[direct]=1"/>
1515
<env name="SYMFONY_PHPUNIT_REMOVE" value="symfony/yaml"/>
1616
<env name="SYMFONY_PHPUNIT_VERSION" value="8.5.0"/>
17+
<env name="KERNEL_CLASS" value="Hackzilla\Bundle\TicketBundle\Tests\Functional\TestKernel"/>
1718
</php>
1819
<testsuites>
1920
<testsuite name="HackzillaTicketBundle test suite">

0 commit comments

Comments
 (0)