Mark incomplete tests in FileStateTest.php (these still really need to be written...
authorMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 31 Mar 2010 18:54:47 +0000 (14:54 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 31 Mar 2010 18:54:47 +0000 (14:54 -0400)
fix HordeDriverTest related to changes in storing dates as Horde_Date

framework/ActiveSync/test/Horde/ActiveSync/FileStateTest.php
framework/ActiveSync/test/Horde/ActiveSync/HordeDriverTest.php

index ebc6c2c..4757448 100644 (file)
@@ -18,6 +18,9 @@ class Horde_ActiveSync_FileStateTest extends Horde_Test_Case
      */
     public function testCollectionSyncState()
     {
+        $this->markTestIncomplete();
+        return;
+        
         $state = new Horde_ActiveSync_State_File(array('stateDir' => './'));
         $state->init(array('id' => 'Contacts',
                            'class' => 'Contacts'));
@@ -115,22 +118,26 @@ class Horde_ActiveSync_FileStateTest extends Horde_Test_Case
 
     public function testFolderSyncState()
     {
-        // TODO
+        $this->markTestIncomplete();
+        return;
     }
     
     public function testConflicts()
     {
-        // TODO
+        $this->markTestIncomplete();
+        return;
     }
 
     public function testPingState()
     {
-        // TODO
+        $this->markTestIncomplete();
+        return;
     }
 
     public function testPingStateUpdatedAfterStateUpdate()
     {
-        
+        $this->markTestIncomplete();
+        return;
     }
 }
 
index 46011df..49512c2 100644 (file)
@@ -148,7 +148,7 @@ class Horde_ActiveSync_HordeDriverTest extends Horde_Test_Case
         $this->assertEquals('PharmD', $results->suffix);
         $this->assertEquals('Michael Joseph Rubinsky', $results->fileas);
         $this->assertEquals('mrubinsk@horde.org', $results->email1address);
-        $this->assertEquals('6757200', $results->birthday);
+        $this->assertEquals('6757200', $results->birthday->timestamp());
         $this->assertEquals('(856)555-1234', $results->homephonenumber);
         $this->assertEquals('(856)555-5678', $results->businessphonenumber);
         $this->assertEquals('(609)555-9876', $results->mobilephonenumber);