Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Merge branch 'master' of git://git.zendframework.com/zf into ZF2-13
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-mabe committed Jul 22, 2011
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Server/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* @namespace
*/
namespace Zend\Json\Server;
use Zend\Server\Reflection\Reflection,
use Zend\Server\Reflection,
Zend\Server\Method;

/**
Expand Down
6 changes: 5 additions & 1 deletion test/ServerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,11 @@ public function testShouldBeAbleToBindFunctionToServer()

public function testShouldBeAbleToBindCallbackToServer()
{
$this->server->addFunction(array($this, 'setUp'));
try {
$this->server->addFunction(array($this, 'setUp'));
} catch (\Zend\Server\Reflection\Exception\RuntimeException $e) {
$this->markTestSkipped('PHPUnit docblocks may be incorrect');
}
$methods = $this->server->getFunctions();
$this->assertTrue($methods->hasMethod('setUp'));
}
Expand Down
1 change: 0 additions & 1 deletion tools/phptools
Submodule phptools deleted from d232cb

0 comments on commit 6986810

Please sign in to comment.