diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php index 2873677ed1..7c94158adc 100644 --- a/src/__phutil_library_map__.php +++ b/src/__phutil_library_map__.php @@ -5055,6 +5055,7 @@ phutil_register_library_map(array( 'PhabricatorFlaggableInterface', 'PhabricatorTokenReceiverInterface', 'PhabricatorProjectInterface', + 'PhabricatorDestructibleInterface', ), 'PhabricatorSlowvotePollController' => 'PhabricatorSlowvoteController', 'PhabricatorSlowvotePollPHIDType' => 'PhabricatorPHIDType', diff --git a/src/infrastructure/testing/PhabricatorTestCase.php b/src/infrastructure/testing/PhabricatorTestCase.php index a2e322b380..e517ffaf8c 100644 --- a/src/infrastructure/testing/PhabricatorTestCase.php +++ b/src/infrastructure/testing/PhabricatorTestCase.php @@ -110,6 +110,12 @@ abstract class PhabricatorTestCase extends ArcanistPhutilTestCase { 'phabricator.application-settings', array()); + // We can't stub this service right now, and it's not generally useful + // to publish notifications about test execution. + $this->env->overrideEnvConfig( + 'notification.enabled', + false); + // TODO: Remove this when we remove "releeph.installed". $this->env->overrideEnvConfig('releeph.installed', true); }