Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #23166 [TwigBundle] Add Doctrine Cache to dev dependencies to fix…
… failing unit tests (derrabus) This PR was merged into the 3.4 branch. Discussion ---------- [TwigBundle] Add Doctrine Cache to dev dependencies to fix failing unit tests | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | None | License | MIT | Doc PR | N/A Currently, the unit tests of TwigBundle are failing because Doctrine Cache is missing. Before the changes of #23131, this dependency was pulled via FrameworkBundle. This PR adds Doctrine Cache to the dev dependencies of TwigBundle, so the tests pass again. ``` There were 3 errors: 1) Symfony\Bundle\TwigBundle\Tests\CacheWarmingTest::testCacheIsProperlyWarmedWhenTemplatingIsAvailable Symfony\Component\DependencyInjection\Exception\LogicException: Annotations cannot be enabled as the Doctrine Cache library is not installed. 2) Symfony\Bundle\TwigBundle\Tests\CacheWarmingTest::testCacheIsProperlyWarmedWhenTemplatingIsDisabled Symfony\Component\DependencyInjection\Exception\LogicException: Annotations cannot be enabled as the Doctrine Cache library is not installed. 3) Symfony\Bundle\TwigBundle\Tests\NoTemplatingEntryTest::test Symfony\Component\DependencyInjection\Exception\LogicException: Annotations cannot be enabled as the Doctrine Cache library is not installed. ``` Commits ------- 2dfde58 Add Doctrine Cache to dev dependencies to fix failing unit tests.
- Loading branch information