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
Unknown Object (File)
Thu, Dec 12, 5:06 AM
Unknown Object (File)
Wed, Nov 27, 8:02 PM
Unknown Object (File)
Nov 24 2024, 5:46 AM
Unknown Object (File)
Oct 18 2024, 12:13 AM
Unknown Object (File)
Oct 17 2024, 7:50 PM
Unknown Object (File)
Oct 16 2024, 12:54 AM
Unknown Object (File)
Oct 5 2024, 8:00 PM
Unknown Object (File)
Sep 30 2024, 4:07 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