cvs: pear-core /tests/PEAR_Command_Registry/info test_installed1.0.phpt
| From: | Greg Beaver | Date: | Mon, 22 Aug 2005 02:52:56 +0000 |
| Subject: | cvs: pear-core /tests/PEAR_Command_Registry/info test_installed1.0.phpt | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-3702@lists.php.net to get a copy of this message | ||
cellog Sun Aug 21 22:52:56 2005 EDT
Modified files:
/pear-core/tests/PEAR_Command_Registry/info test_installed1.0.phpt
Log:
update test to work with current cvs
http://cvs.php.net/diff.php/pear-core/tests/PEAR_Command_Registry/info/test_installed1.0.phpt?r1=1.4&r2=1.5&ty=u
Index: pear-core/tests/PEAR_Command_Registry/info/test_installed1.0.phpt
diff -u pear-core/tests/PEAR_Command_Registry/info/test_installed1.0.phpt:1.4
pear-core/tests/PEAR_Command_Registry/info/test_installed1.0.phpt:1.5
--- pear-core/tests/PEAR_Command_Registry/info/test_installed1.0.phpt:1.4 Sat Feb 19 22:02:50 2005
+++ pear-core/tests/PEAR_Command_Registry/info/test_installed1.0.phpt Sun Aug 21 22:52:56 2005
@@ -10,8 +10,8 @@
<?php
error_reporting(E_ALL);
require_once dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'setup.php.inc';
-$downloader = &new PEAR_Downloader($fakelog, array(), $config);
-$installer = &new PEAR_Installer($fakelog);
+$downloader = &new test_PEAR_Downloader($fakelog, array(), $config);
+$installer = &new test_PEAR_Installer($fakelog);
$downloaded = &$downloader->download(array(dirname(__FILE__) . DIRECTORY_SEPARATOR .
'packagefiles' .
DIRECTORY_SEPARATOR . 'Console_Getopt-1.2.0.tgz'));
$phpunit->assertNoErrors('"download"');
@@ -20,7 +20,7 @@
$installer->setDownloadedPackages($downloaded);
$installer->install($downloaded[0], array());
$phpunit->assertNoErrors('setup');
-$phpunit->assertEquals(array(), $fakelog->getLog(), 'log setup');
+$fakelog->getLog();
$e = $command->run('info', array(), array('Console_Getopt'));
$phpunit->assertEquals(array (
0 =>