Page MenuHomePhabricator

Fix an out-of-date API call on the destruction pathway for Pholio mocks
ClosedPublic

Authored by epriestley on Apr 10 2020, 3:00 PM.
Tags
None
Referenced Files
F17870537: D21081.id.diff
Mon, Jul 28, 2:11 PM
F17858764: D21081.diff
Sun, Jul 27, 7:59 PM
F17712062: D21081.diff
Thu, Jul 17, 9:23 AM
Unknown Object (File)
Jun 18 2025, 9:49 PM
Unknown Object (File)
Jun 4 2025, 6:36 AM
Unknown Object (File)
May 8 2025, 4:19 AM
Unknown Object (File)
May 6 2025, 8:41 PM
Unknown Object (File)
Apr 25 2025, 4:15 PM
Subscribers
None

Details

Summary

See https://discourse.phabricator-community.org/t/destroying-a-mock-using-bin-remove-destroy-mx-gives-an-error/3728.

Currently, Pholio calls an older API method on the mock destruction pathway. This call was introduced in D19911 but the callsite was only partially updated in D19914.

Test Plan

Ran "bin/remove destroy Mx" to destroy a mock. Before: fatal with a bad call; after: clean destruction.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable