mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
ENHANCEMENT: disable basic auth by default, tests run on the assumption it is disabled. (from r110211)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112838 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
32783ef0e8
commit
e5dd8c13d3
@ -67,6 +67,9 @@ class FunctionalTest extends SapphireTest {
|
||||
if($this->stat('use_draft_site')) {
|
||||
$this->useDraftSite();
|
||||
}
|
||||
|
||||
// Unprotect the site, tests are running with the assumption it's off. They will enable it on a case-by-case basis.
|
||||
BasicAuth::protect_entire_site(false);
|
||||
}
|
||||
|
||||
function tearDown() {
|
||||
|
Loading…
Reference in New Issue
Block a user