Author: jwage
Date: 2008-09-08 22:02:31 +0100 (Mon, 08 Sep 2008)
New Revision: 4893

Modified:
   branches/1.0/tests/Ticket/1351TestCase.php
Log:
Updating test to include Searchable as I18n child


Modified: branches/1.0/tests/Ticket/1351TestCase.php
===================================================================
--- branches/1.0/tests/Ticket/1351TestCase.php  2008-09-08 20:28:00 UTC (rev 
4892)
+++ branches/1.0/tests/Ticket/1351TestCase.php  2008-09-08 21:02:31 UTC (rev 
4893)
@@ -71,6 +71,9 @@
 
     public function setUp()
     {
-        $this->actAs('I18n', array('fields' => array('title', 'body')));
+        $i18n0 = new Doctrine_Template_I18n(array('fields' => array(0 => 
'title', 1 => 'body')));
+        $searchable1 = new Doctrine_Template_Searchable(array('fields' => 
array(0 => 'title')));
+        $i18n0->addChild($searchable1);
+        $this->actAs($i18n0);
     }
 }
\ No newline at end of file


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"doctrine-svn" group.
 To post to this group, send email to [email protected]
 To unsubscribe from this group, send email to [EMAIL PROTECTED]
 For more options, visit this group at 
http://groups.google.co.uk/group/doctrine-svn?hl=en-GB
-~----------~----~----~----~------~----~------~--~---

Reply via email to