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
F18760728: D21081.id50218.diff
Mon, Oct 6, 10:13 AM
F18756911: D21081.id.diff
Sun, Oct 5, 2:21 PM
F18752984: D21081.diff
Sat, Oct 4, 5:02 PM
F18750608: D21081.id.diff
Sat, Oct 4, 8:23 AM
F18738088: D21081.diff
Wed, Oct 1, 2:02 PM
F18734201: D21081.id.diff
Tue, Sep 30, 10:49 PM
F18716086: D21081.id50217.diff
Mon, Sep 29, 11:26 AM
F18567735: D21081.id.diff
Sep 9 2025, 4:08 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