Skip to content

The test application no longer works #257

@FabienSalles

Description

@FabienSalles

When we install dependencies with composer, we no longer have some packages like DoctrineCacheBundle and WhiteOctoberPagerfantaBundle :

Fatal error: Uncaught Symfony\Component\Debug\Exception\ClassNotFoundException: Attempted to load class "DoctrineCacheBundle" from namespace "Doctrine\Bundle\DoctrineCacheBundle".
Did you forget a "use" statement for another namespace? in /srv/sylius/tests/Application/Kernel.php:48
Stack trace:
#0 /srv/sylius/tests/Application/vendor/symfony/http-kernel/Kernel.php(446): Tests\Pledg\SyliusPaymentPlugin\Application\Kernel->registerBundles()
#1 /srv/sylius/tests/Application/vendor/symfony/http-kernel/Kernel.php(133): Symfony\Component\HttpKernel\Kernel->initializeBundles()
#2 /srv/sylius/tests/Application/vendor/symfony/framework-bundle/Console/Application.php(169): Symfony\Component\HttpKernel\Kernel->boot()
#3 /srv/sylius/tests/Application/vendor/symfony/framework-bundle/Console/Application.php(75): Symfony\Bundle\FrameworkBundle\Console\Application->registerCommands()
#4 /srv/sylius/tests/Application/vendor/symfony/console/Application.php(149): Symfony\Bundle\FrameworkBundle\Console\Application->doRun(Object(Symfony\Compo in /srv/sylius/tests/Application/Kernel.php on line 48

You can see the problem in some of your pipelines like https://github.com/Sylius/PluginSkeleton/pull/256/checks?check_run_id=2065773890

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions