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)
Jul 9 2026, 12:58 AM
Unknown Object (File)
Jun 20 2026, 6:31 AM
Unknown Object (File)
Apr 17 2026, 1:06 AM
Unknown Object (File)
Apr 15 2026, 6:29 PM
Unknown Object (File)
Mar 19 2026, 9:46 AM
Unknown Object (File)
Mar 4 2026, 11:47 AM
Unknown Object (File)
Feb 13 2026, 7:07 AM
Unknown Object (File)
Feb 13 2026, 7:06 AM
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
Branch
mock1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 24035
Build 33084: Run Core Tests
Build 33083: arc lint + arc unit