cvs: pear-core /tests/PEAR_Installer test_install_subpackage.phpt

From: Date: Sat, 29 Oct 2005 21:08:56 +0000
Subject: cvs: pear-core /tests/PEAR_Installer test_install_subpackage.phpt
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-cvs+get-35953@lists.php.net to get a copy of this message
cellog Sat Oct 29 17:08:56 2005 EDT Modified files: /pear-core/tests/PEAR_Installer test_install_subpackage.phpt Log: fix test to match cvs http://cvs.php.net/diff.php/pear-core/tests/PEAR_Installer/test_install_subpackage.phpt?r1=1.4&r2=1.5&ty=u Index: pear-core/tests/PEAR_Installer/test_install_subpackage.phpt diff -u pear-core/tests/PEAR_Installer/test_install_subpackage.phpt:1.4 pear-core/tests/PEAR_Installer/test_install_subpackage.phpt:1.5 --- pear-core/tests/PEAR_Installer/test_install_subpackage.phpt:1.4 Sat Jan 1 01:28:05 2005 +++ pear-core/tests/PEAR_Installer/test_install_subpackage.phpt Sat Oct 29 17:08:55 2005 @@ -49,7 +49,13 @@ $installer->setOptions(array()); $installer->sortPackagesForInstall($params); $err = $installer->setDownloadedPackages($params); -$phpunit->assertEquals(array(), $fakelog->getLog(), 'log'); +$phpunit->assertEquals(array( + 0 => + array ( + 0 => 3, + 1 => 'skipping installed package check of "pear/foo", version "1.1" will be downloaded and installed', + ), +), $fakelog->getLog(), 'log'); $phpunit->assertNoErrors('dl setup'); $installer->install($dp2, array('upgrade' => true)); $phpunit->assertNoErrors('install');

« previous php.pear.cvs (#35953) next »