From ef36436f756a43e53e6de1748dbd68363e5779e8 Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Tue, 19 Oct 2010 03:01:29 +0000 Subject: [PATCH] BUGFIX Protect MemberTest from side effects caused by auth_openid and forum modules (from r110894) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112865 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- tests/security/MemberTest.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/security/MemberTest.php b/tests/security/MemberTest.php index a8b1ca497..0e6f1dfd2 100644 --- a/tests/security/MemberTest.php +++ b/tests/security/MemberTest.php @@ -8,6 +8,15 @@ class MemberTest extends FunctionalTest { protected $orig = array(); protected $local = null; + + protected $illegalExtensions = array( + 'Member' => array( + // TODO Coupling with modules, this should be resolved by automatically + // removing all applied extensions before a unit test + 'ForumRole', + 'OpenIDAuthenticatedRole' + ) + ); function __construct() { parent::__construct();