From 8895b4f9071181127477f3be2639972cdf2ca1d2 Mon Sep 17 00:00:00 2001 From: Julian Seidenberg Date: Wed, 10 Oct 2012 13:44:10 +1300 Subject: [PATCH] BUGFIX: fixing unit tests --- tests/ShortCodeRelationFinderTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/ShortCodeRelationFinderTest.php b/tests/ShortCodeRelationFinderTest.php index 7a2c357..d2dfeea 100644 --- a/tests/ShortCodeRelationFinderTest.php +++ b/tests/ShortCodeRelationFinderTest.php @@ -17,8 +17,8 @@ class ShortCodeRelationFinderTest extends SapphireTest { $page2->Content = 'Condition: '; $page2ID = $page2->write(); - $page3 = new CDSHolder(); - $page3->TermsAndConditions = 'Condition: '; + $page3 = new SiteTree(); + $page3->Content = 'Condition: '; $page3ID = $page3->write(); $finder = new ShortCodeRelationFinder();