HomeDevCentral

Support blackhole database engine for mocks
7f6ce67d3be2Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Support blackhole database engine for mocks

Summary:
It can be convenient in tests to replace a full fledged instance
of the database engine by a mock doing nothing. That's the purpose
of this change.

This blackhole engine doesn't really use any of the parameters passed
to the methods, and that's expected behavior for a blackhole. As such,
phpcs is configured to ignore unused parameters.

Test Plan: used in Zed to test GeoLocation class

Reviewers: dereckson

Differential Revision: https://devcentral.nasqueron.org/D3198

Details

Provenance
derecksonAuthored on Jun 14 2023, 21:47
derecksonPushed on Jul 1 2023, 20:39
Parents
rKERUALD22680a85d359: Update license information
Branches
Unknown
Tags
Unknown

Event Timeline