1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-21 04:50:55 +01:00

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
This commit is contained in:
tuomaspelkonen 2012-01-18 20:13:37 -08:00
parent ad36865e50
commit 7f9fb3597d

View file

@ -78,7 +78,8 @@ extends ConduitAPIMethod {
// the new info. // the new info.
foreach ($unit_results as &$unit_result) { foreach ($unit_results as &$unit_result) {
if ($unit_result['name'] === $name || 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['name'] = $name;
$unit_result['file'] = $file; $unit_result['file'] = $file;
$unit_result['result'] = $result; $unit_result['result'] = $result;