Author: chabotc
Date: Thu Nov 20 00:08:07 2008
New Revision: 719193

URL: http://svn.apache.org/viewvc?rev=719193&view=rev
Log:
Fixed up DoB tests based on the new date validator that's been added to the 
person model

Modified:
    incubator/shindig/trunk/php/test/social/PersonTest.php

Modified: incubator/shindig/trunk/php/test/social/PersonTest.php
URL: 
http://svn.apache.org/viewvc/incubator/shindig/trunk/php/test/social/PersonTest.php?rev=719193&r1=719192&r2=719193&view=diff
==============================================================================
--- incubator/shindig/trunk/php/test/social/PersonTest.php (original)
+++ incubator/shindig/trunk/php/test/social/PersonTest.php Thu Nov 20 00:08:07 
2008
@@ -178,8 +178,8 @@
         */
        public function testGetDateOfBirth()
        {
-               $this->Person->setBirthday('DATEOFBIRTH');
-               $this->assertEquals('DATEOFBIRTH', 
$this->Person->getBirthday());
+               $this->Person->setBirthday('10/10/2010');
+               $this->assertEquals('2010-10-10', $this->Person->getBirthday());
        }
 
        /**
@@ -624,8 +624,8 @@
         */
        public function testSetDateOfBirth()
        {
-               $this->Person->setBirthday('dateofbirth');
-               $this->assertEquals('dateofbirth', 
$this->Person->getBirthday());
+               $this->Person->setBirthday('10/10/2010');
+               $this->assertEquals('2010-10-10', $this->Person->getBirthday());
        }
 
        /**


Reply via email to