From 7f9fb3597d140692b359ae3ec49d5d16aa8a1042 Mon Sep 17 00:00:00 2001 From: tuomaspelkonen Date: Wed, 18 Jan 2012 20:13:37 -0800 Subject: [PATCH] Make updating postponed tests work again for Facebook. Summary: It was broken by D!352 Test Plan: Praying that it works. Reviewers: nh, epriestley, andrewjcg Reviewed By: epriestley CC: aran Differential Revision: https://secure.phabricator.com/D1453 --- .../ConduitAPI_differential_updateunitresults_Method.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/applications/conduit/method/differential/updateunitresults/ConduitAPI_differential_updateunitresults_Method.php b/src/applications/conduit/method/differential/updateunitresults/ConduitAPI_differential_updateunitresults_Method.php index bc6c12daf8..e06bd4994d 100644 --- a/src/applications/conduit/method/differential/updateunitresults/ConduitAPI_differential_updateunitresults_Method.php +++ b/src/applications/conduit/method/differential/updateunitresults/ConduitAPI_differential_updateunitresults_Method.php @@ -78,7 +78,8 @@ extends ConduitAPIMethod { // the new info. foreach ($unit_results as &$unit_result) { if ($unit_result['name'] === $name || - $unit_result['name'] === $file) { + $unit_result['name'] === $file || + $unit_result['name'] === $diff->getSourcePath().$file) { $unit_result['name'] = $name; $unit_result['file'] = $file; $unit_result['result'] = $result;