From 557ec1e3b3ae1c72d0c6b0b3321a3bf21c9e3520 Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Sun, 11 Oct 2009 00:07:28 +0000 Subject: [PATCH] MINOR: Fixed ComplexTableField test to not generate 404s when redirecting to homepage. From: Sam Minnee git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@88511 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- tests/forms/ComplexTableFieldTest.php | 1 + tests/forms/ComplexTableFieldTest.yml | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/tests/forms/ComplexTableFieldTest.php b/tests/forms/ComplexTableFieldTest.php index 166c16ad1..a5cfbeb3f 100644 --- a/tests/forms/ComplexTableFieldTest.php +++ b/tests/forms/ComplexTableFieldTest.php @@ -6,6 +6,7 @@ class ComplexTableFieldTest extends FunctionalTest { static $fixture_file = 'sapphire/tests/forms/ComplexTableFieldTest.yml'; + static $use_draft_site = true; /** * An instance of {@link Controller} used for diff --git a/tests/forms/ComplexTableFieldTest.yml b/tests/forms/ComplexTableFieldTest.yml index 9173a8725..b0d21710f 100644 --- a/tests/forms/ComplexTableFieldTest.yml +++ b/tests/forms/ComplexTableFieldTest.yml @@ -1,3 +1,7 @@ +SiteTree: + home: + Title: Home + URLSegment: home ComplexTableFieldTest_Player: p1: Name: Joe Bloggs