BUGFIX More robust URL handling in SecurityTest to avoid failing on custom /admin redirects

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@85514 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2009-09-01 06:48:31 +00:00
parent e031478576
commit 5e3cffec1f

View File

@ -78,7 +78,7 @@ class SecurityTest extends FunctionalTest {
$this->autoFollowRedirection = true;
/* Attempt to get into the admin section */
$this->get('admin');
$response = $this->get('admin/cms/');
$items = $this->cssParser()->getBySelector('#MemberLoginForm_LoginForm input.text');