From 2d264d4f40371aa7e2c9531a962710482f8f42a9 Mon Sep 17 00:00:00 2001 From: Mateusz Uzdowski Date: Mon, 30 Aug 2010 21:20:17 +0000 Subject: [PATCH] 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 --- dev/FunctionalTest.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dev/FunctionalTest.php b/dev/FunctionalTest.php index c325ac99a..521b769a5 100644 --- a/dev/FunctionalTest.php +++ b/dev/FunctionalTest.php @@ -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() {