Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14757916
D14456.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D14456.id.diff
View Options
diff --git a/src/applications/base/controller/__tests__/PhabricatorAccessControlTestCase.php b/src/applications/base/controller/__tests__/PhabricatorAccessControlTestCase.php
--- a/src/applications/base/controller/__tests__/PhabricatorAccessControlTestCase.php
+++ b/src/applications/base/controller/__tests__/PhabricatorAccessControlTestCase.php
@@ -56,7 +56,6 @@
$env->overrideEnvConfig('phabricator.base-uri', 'http://'.$host);
$env->overrideEnvConfig('policy.allow-public', false);
$env->overrideEnvConfig('auth.require-email-verification', false);
- $env->overrideEnvConfig('auth.email-domains', array());
$env->overrideEnvConfig('security.require-multi-factor-auth', false);
diff --git a/src/infrastructure/testing/PhabricatorTestCase.php b/src/infrastructure/testing/PhabricatorTestCase.php
--- a/src/infrastructure/testing/PhabricatorTestCase.php
+++ b/src/infrastructure/testing/PhabricatorTestCase.php
@@ -120,6 +120,10 @@
'phabricator.base-uri',
'http://phabricator.example.com');
+ $this->env->overrideEnvConfig(
+ 'auth.email-domains',
+ array());
+
// Tests do their own stubbing/voiding for events.
$this->env->overrideEnvConfig('phabricator.silent', false);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 23, 3:57 AM (20 h, 54 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7036030
Default Alt Text
D14456.id.diff (1 KB)
Attached To
Mode
D14456: Always override `auth.email-domains` when running unit tests
Attached
Detach File
Event Timeline
Log In to Comment