cvs: pear-core /tests/PEAR_Command_Install/install test_dependsonpecl.phpt

From: Date: Mon, 23 May 2005 03:41:31 +0000
Subject: cvs: pear-core /tests/PEAR_Command_Install/install test_dependsonpecl.phpt
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-cvs+get-32030@lists.php.net to get a copy of this message
cellog Sun May 22 23:41:31 2005 EDT Modified files: /pear-core/tests/PEAR_Command_Install/install test_dependsonpecl.phpt Log: fix test http://cvs.php.net/diff.php/pear-core/tests/PEAR_Command_Install/install/test_dependsonpecl.phpt?r1=1.1&r2=1.2&ty=u Index: pear-core/tests/PEAR_Command_Install/install/test_dependsonpecl.phpt diff -u pear-core/tests/PEAR_Command_Install/install/test_dependsonpecl.phpt:1.1 pear-core/tests/PEAR_Command_Install/install/test_dependsonpecl.phpt:1.2 --- pear-core/tests/PEAR_Command_Install/install/test_dependsonpecl.phpt:1.1 Sun May 22 22:06:15 2005 +++ pear-core/tests/PEAR_Command_Install/install/test_dependsonpecl.phpt Sun May 22 23:41:31 2005 @@ -96,8 +96,9 @@ 'url' => 'http://pecl.php.net/get/peclpackage-1.3.0') ); $res = $command->run('install', array(), array($pathtopackagexml)); -$phpunit->assertNoErrors('after install'); -$phpunit->assertTrue($res, 'result'); +$phpunit->assertErrors(array( + array('package' => 'PEAR_Error', 'message' => 'install failed') +), 'after install'); $dl = &$command->getDownloader(1, array()); $phpunit->assertEquals(array ( 0 =>

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