Skip to content

Non-symfony Doctrine Test? #318

Closed as not planned
Closed as not planned

Description

@filisko

Hi,

Is there a way to set this up in vanilla PHP with PHPUnit?

Thanks!

Activity

  1. dmaicher commented on Apr 28, 2025

    @dmaicher
    Owner

    You mean you are using Doctrine but without Symfony?

    Might be possible to configure the middleware yourself then:

  2. filisko commented on Apr 28, 2025

    @filisko
    Author

    yes, @dmaicher

    what do you mean by "use the PHPUnit extension"?

  3. filisko commented on Apr 28, 2025

    @filisko
    Author

    ok, nice, thanks!

  4. filisko commented on May 27, 2025

    @filisko
    Author

    @dmaicher I also had to keep the static connections this way:

    \DAMA\DoctrineTestBundle\Doctrine\DBAL\StaticDriver::setKeepStaticConnections(true);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions