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
F19103559: D21081.id50217.diff
Fri, Dec 5, 11:13 AM
F19083228: D21081.id50218.diff
Tue, Dec 2, 12:32 PM
F19045903: D21081.id50218.diff
Thu, Nov 27, 9:14 AM
F18985393: D21081.id50217.diff
Mon, Nov 17, 1:01 PM
F18874272: D21081.id.diff
Nov 5 2025, 1:54 PM
F18870484: D21081.diff
Nov 4 2025, 5:35 PM
F18760728: D21081.id50218.diff
Oct 6 2025, 10:13 AM
F18756911: D21081.id.diff
Oct 5 2025, 2:21 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