cvs: pear-core /tests/PEAR_Dependency2 test_validatePackage.phpt
| From: | Greg Beaver | Date: | Mon, 23 May 2005 04:07:45 +0000 |
| Subject: | cvs: pear-core /tests/PEAR_Dependency2 test_validatePackage.phpt | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-32035@lists.php.net to get a copy of this message | ||
cellog Mon May 23 00:07:45 2005 EDT
Modified files:
/pear-core/tests/PEAR_Dependency2 test_validatePackage.phpt
Log:
fix test
http://cvs.php.net/diff.php/pear-core/tests/PEAR_Dependency2/test_validatePackage.phpt?r1=1.4&r2=1.5&ty=u
Index: pear-core/tests/PEAR_Dependency2/test_validatePackage.phpt
diff -u pear-core/tests/PEAR_Dependency2/test_validatePackage.phpt:1.4
pear-core/tests/PEAR_Dependency2/test_validatePackage.phpt:1.5
--- pear-core/tests/PEAR_Dependency2/test_validatePackage.phpt:1.4 Thu Mar 24 22:48:40 2005
+++ pear-core/tests/PEAR_Dependency2/test_validatePackage.phpt Mon May 23 00:07:45 2005
@@ -44,14 +44,13 @@
$pkg2->setChannel('pear.php.net');
$dl = &new PEAR_Downloader($fakelog, array(), $config);
$result = $dep->validatePackage($pkg2, $dl);
-$phpunit->showall();
$phpunit->assertErrors(array(
array('package' => 'PEAR_Error',
'message' => 'pear/foo cannot be installed, conflicts with installed
packages')), 'vp');
$phpunit->assertEquals(array (
0 =>
array (
- 0 => 'pear/foo conflicts with package "pear/bar"',
+ 0 => 'pear/foo conflicts with package "pear/bar"',
1 => true,
),
), $fakelog->getLog(), 'vp');