mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
ENHANCEMENT: disable basic auth by default, tests run on the assumption it is disabled.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@110211 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
e65bfb893d
commit
2d264d4f40
@ -67,6 +67,9 @@ class FunctionalTest extends SapphireTest {
|
|||||||
if($this->stat('use_draft_site')) {
|
if($this->stat('use_draft_site')) {
|
||||||
$this->useDraftSite();
|
$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() {
|
function tearDown() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user