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
F18269015: D21081.diff
Fri, Aug 22, 2:24 PM
F18108005: D21081.id50217.diff
Mon, Aug 11, 4:18 AM
F18100966: D21081.diff
Sat, Aug 9, 12:13 PM
F18099473: D21081.id50218.diff
Sat, Aug 9, 5:14 AM
F18088916: D21081.id50217.diff
Wed, Aug 6, 10:03 AM
F17945478: D21081.diff
Thu, Jul 31, 12:13 PM
F17870537: D21081.id.diff
Jul 28 2025, 2:11 PM
F17858764: D21081.diff
Jul 27 2025, 7:59 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