#93985Fix failing QueryBuilderTest with doctrine 2.13.1
Description
we got some incompatibility issues,
like Argument 1 passed to Doctrine\DBAL\ForwardCompatibility\Result::ensure() must implement interface Doctrine\DBAL\Driver\ResultStatement, null given
those result from incomplete mocking.