svn: /pear2/Pyrus/trunk/tests/Remotecategories/ exceptions.phpt
| From: | Brett Bieber | Date: | Fri, 01 Jan 2010 00:05:30 +0000 |
| Subject: | svn: /pear2/Pyrus/trunk/tests/Remotecategories/ exceptions.phpt | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-9160@lists.php.net to get a copy of this message | ||
saltybeagle Fri, 01 Jan 2010 00:05:30 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=292873
Log:
Fix class case
Changed paths:
U pear2/Pyrus/trunk/tests/Remotecategories/exceptions.phpt
Modified: pear2/Pyrus/trunk/tests/Remotecategories/exceptions.phpt
===================================================================
--- pear2/Pyrus/trunk/tests/Remotecategories/exceptions.phpt 2010-01-01 00:04:03 UTC (rev 292872)
+++ pear2/Pyrus/trunk/tests/Remotecategories/exceptions.phpt 2010-01-01 00:05:30 UTC (rev 292873)
@@ -13,13 +13,13 @@
$chan = \pear2\Pyrus\Config::current()->channelregistry['pecl.php.net'];
unset($chan->protocols->rest['REST1.1']);
try {
- $remote = new pear2\Pyrus\Channel\Remotecategories($chan);
+ $remote = new pear2\Pyrus\Channel\RemoteCategories($chan);
throw new Exception('succeeded and should fail');
} catch (\pear2\Pyrus\Channel\Exception $e) {
$test->assertEquals('Cannot access remote categories without REST1.1 protocol',
$e->getMessage(),
'no REST1.1');
}
-$remote = new
pear2\Pyrus\Channel\Remotecategories(\pear2\Pyrus\Config::current()->channelregistry['pear2.php.net']);
+$remote = new
pear2\Pyrus\Channel\RemoteCategories(\pear2\Pyrus\Config::current()->channelregistry['pear2.php.net']);
try {
$remote['foo'] = 1;
throw new Exception('succeeded and should fail');
@@ -42,4 +42,4 @@
include __DIR__ . '/../clean.php.inc';
?>
--EXPECT--
-===DONE===
\ No newline at end of file
+===DONE===