logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

cvs: pear-core /tests/PEAR_Command_Package/convert test.phpt: msg#00277

Subject: cvs: pear-core /tests/PEAR_Command_Package/convert test.phpt
cellog          Sun Sep 25 02:41:55 2005 EDT

  Modified files:              
    /pear-core/tests/PEAR_Command_Package/convert       test.phpt 
  Log:
  update tests to cvs
  
http://cvs.php.net/diff.php/pear-core/tests/PEAR_Command_Package/convert/test.phpt?r1=1.8&r2=1.9&ty=u
Index: pear-core/tests/PEAR_Command_Package/convert/test.phpt
diff -u pear-core/tests/PEAR_Command_Package/convert/test.phpt:1.8 
pear-core/tests/PEAR_Command_Package/convert/test.phpt:1.9
--- pear-core/tests/PEAR_Command_Package/convert/test.phpt:1.8  Sat Sep 24 
01:45:03 2005
+++ pear-core/tests/PEAR_Command_Package/convert/test.phpt      Sun Sep 25 
02:41:54 2005
@@ -166,7 +166,10 @@
 </package>
 ', $contents, 'contents 1');
 $e = $command->run('convert', array('flat' => true), array());
-$phpunit->assertNoErrors('1.1');
+$phpunit->assertErrors(array(
+    array('package' => 'PEAR_PackageFile_v2', 'message' => 'Channel validator 
warning: field "date" - Release Date "2004-11-27"is not today'),
+    array('package' => 'PEAR_PackageFile_v2', 'message' => 'Channel validator 
warning: field "date" - Release Date "2005-09-25"is not today')
+), '1.1');
 $phpunit->assertEquals(array (
   0 => 
   array (



<Prev in Thread] Current Thread [Next in Thread>