From 54888e1aa82184393a1db5b3fe75427f1a65f556 Mon Sep 17 00:00:00 2001 From: Paul Kassianik Date: Tue, 23 Jun 2015 10:05:15 -0700 Subject: [PATCH] Implemented Mentionable interface in Pholio Summary: closes T8486 Test Plan: Create a pholio mock. In an already existing object mention the pholio mock. Verify that the reference to the object exists in the pholio mock's timeline. Reviewers: lpriestley, #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: epriestley, Korvin Maniphest Tasks: T8486 Differential Revision: https://secure.phabricator.com/D13402 --- src/__phutil_library_map__.php | 1 + src/applications/pholio/storage/PholioMock.php | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php index 9c4acc6ec3..707e72924f 100644 --- a/src/__phutil_library_map__.php +++ b/src/__phutil_library_map__.php @@ -6726,6 +6726,7 @@ phutil_register_library_map(array( 'PhabricatorProjectInterface', 'PhabricatorDestructibleInterface', 'PhabricatorSpacesInterface', + 'PhabricatorMentionableInterface', ), 'PholioMockCommentController' => 'PholioController', 'PholioMockEditController' => 'PholioController', diff --git a/src/applications/pholio/storage/PholioMock.php b/src/applications/pholio/storage/PholioMock.php index 22c1015704..71d1857383 100644 --- a/src/applications/pholio/storage/PholioMock.php +++ b/src/applications/pholio/storage/PholioMock.php @@ -10,7 +10,8 @@ final class PholioMock extends PholioDAO PhabricatorApplicationTransactionInterface, PhabricatorProjectInterface, PhabricatorDestructibleInterface, - PhabricatorSpacesInterface { + PhabricatorSpacesInterface, + PhabricatorMentionableInterface { const MARKUP_FIELD_DESCRIPTION = 'markup:description';