cvs: pear-core /tests pear_registry_1.1.phpt

From: Date: Tue, 17 Aug 2004 03:52:40 +0000
Subject: cvs: pear-core /tests pear_registry_1.1.phpt
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-cvs+get-22993@lists.php.net to get a copy of this message
cellog Mon Aug 16 23:52:40 2004 EDT Modified files: /pear-core/tests pear_registry_1.1.phpt Log: update for new PEAR_ChannelFile http://cvs.php.net/diff.php/pear-core/tests/pear_registry_1.1.phpt?r1=1.3&r2=1.4&ty=u Index: pear-core/tests/pear_registry_1.1.phpt diff -u pear-core/tests/pear_registry_1.1.phpt:1.3 pear-core/tests/pear_registry_1.1.phpt:1.4 --- pear-core/tests/pear_registry_1.1.phpt:1.3 Fri Jul 2 17:34:52 2004 +++ pear-core/tests/pear_registry_1.1.phpt Mon Aug 16 23:52:40 2004 @@ -125,8 +125,9 @@ $chan = new PEAR_ChannelFile; $chan->setName('test'); -$chan->setServer('pear.php.net'); +$chan->setServer('pear.php.net', 'xmlrpc'); $chan->setSummary('hello'); +$chan->setDefaultPEARProtocols(); $reg->addChannel($chan); dumpall($reg); @@ -134,7 +135,7 @@ echo "test add bad channel\n"; $chan = new PEAR_ChannelFile; -$chan->setServer('pear.php.net'); +$chan->setServer('pear.php.net', 'xmlrpc'); $chan->setSummary('hello'); $reg->addChannel($chan); @@ -236,6 +237,9 @@ caught ErrorStack error: message: Missing channel name code: 6 +caught ErrorStack error: +message: No <xmlrpc> tag is defined +code: 29 dumping registry... channel pear: pkg1: version="1.0" filelist=array(pkg1-1.php[role=php],pkg1-2.php[role=php,baseinstalldir=pkg1])

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