HomeDevCentral

Support blackhole database engine for mocks

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 Jun 19 2023, 23:23
Differential Revision
D3198: Support blackhole database engine for mocks
Parents
rKDB22680a85d359: Update license information
Branches
Unknown
Tags
Unknown
References
tag: 0.2.0