Review main Merged

84418[TASK] Remove `doctrine/dbal` version aware method mocking in tests

Stefan Bürk CR +2 V +2 Easy +8 −26 updated 05/27/24, 09:27

Commit message

`\TYPO3\CMS\Core\Tests\Unit\Database\ConnectionTest` containes
code to mock Connection methods conditionally, based on their
existance surrounded by a `@todo` comment to remove this, when
`doctrine/dbal` has been required with 2.11.0 as minimal version.

The version raise has been done already a long time ago, however
the removal of this conditional test mock has been missed.

This change removes the conditional mocking now.

Review

  • Code review CR +2 Done
    • Christian Kuhn +2
    • Ayke Halder +1
  • Verified V +2 Done
    • Christian Kuhn +2
    • Ayke Halder +1
    • core-ci +1 CI

Issues 1

Files 1

Review log 45

  1. Stefan Bürk uploaded patch set 1 05/26/24, 21:55

  2. core-ci voted on patch set 1 V +1 05/26/24, 22:02 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/58297

  3. Ayke Halder voted on patch set 1 CR +1 V +1 05/27/24, 06:51

  4. Christian Kuhn voted on patch set 1 CR +2 V +2 05/27/24, 09:27

  5. Christian Kuhn merged patch set 2 05/27/24, 09:27