Add support for getting Database Stub using Database::getConnection()

Created on 22 June 2024, 6 days ago

Problem/Motivation

Now the Database service stub can be initiated by calling the database service.

But some code uses the static calls Database::getConnection() to get the database service.
Because this is a static call, we can't simply replace it with a stub class.

So will be good to invent something to make this way of getting a db connection from a static class works well too in Test Helpers.

✨ Feature request
Status

Fixed

Version

1.4

Component

Code

Created by

πŸ‡¦πŸ‡²Armenia Murz Yerevan, Armenia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024