cvs: pear-core /tests/PEAR_Command_Install/upgrade-all test.phpt
| From: | Greg Beaver | Date: | Mon, 22 Aug 2005 04:14:10 +0000 |
| Subject: | cvs: pear-core /tests/PEAR_Command_Install/upgrade-all test.phpt | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-3707@lists.php.net to get a copy of this message | ||
cellog Mon Aug 22 00:14:10 2005 EDT
Modified files:
/pear-core/tests/PEAR_Command_Install/upgrade-all test.phpt
Log:
explicitly disable REST for this test
http://cvs.php.net/diff.php/pear-core/tests/PEAR_Command_Install/upgrade-all/test.phpt?r1=1.5&r2=1.6&ty=u
Index: pear-core/tests/PEAR_Command_Install/upgrade-all/test.phpt
diff -u pear-core/tests/PEAR_Command_Install/upgrade-all/test.phpt:1.5
pear-core/tests/PEAR_Command_Install/upgrade-all/test.phpt:1.6
--- pear-core/tests/PEAR_Command_Install/upgrade-all/test.phpt:1.5 Wed May 11 15:33:54 2005
+++ pear-core/tests/PEAR_Command_Install/upgrade-all/test.phpt Mon Aug 22 00:14:09 2005
@@ -9,6 +9,13 @@
--FILE--
<?php
require_once dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'setup.php.inc';
+$reg = &$config->getRegistry();
+$chan = &$reg->getChannel('pear.php.net');
+$chan->resetREST();
+$reg->updateChannel($chan);
+$chan = &$reg->getChannel('pecl.php.net');
+$chan->resetREST();
+$reg->updateChannel($chan);
$pearweb->addXmlrpcConfig("pecl.php.net", "package.listLatestReleases",
array (
0 => 'alpha',
), array (