diff options
author | 2015-07-27 10:19:45 -0700 | |
---|---|---|
committer | 2015-07-27 10:22:33 -0700 | |
commit | db98e085704308bf03b2c68a9183336a3b37b422 (patch) | |
tree | 503c9a16ac2ccc9d1a2d17f4eb3d0eb8b5c839f4 /src/php/tests/unit_tests/CallTest.php | |
parent | 1f21f336ebe032e7dff185d551a3f48c8dcd4b5b (diff) |
Exposed channel target and call peer in PHP
Diffstat (limited to 'src/php/tests/unit_tests/CallTest.php')
-rwxr-xr-x | src/php/tests/unit_tests/CallTest.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/php/tests/unit_tests/CallTest.php b/src/php/tests/unit_tests/CallTest.php index 77a2d86ce4..3d50da3251 100755 --- a/src/php/tests/unit_tests/CallTest.php +++ b/src/php/tests/unit_tests/CallTest.php @@ -79,4 +79,8 @@ class CallTest extends PHPUnit_Framework_TestCase{ $result = $this->call->startBatch($batch); $this->assertTrue($result->send_metadata); } + + public function testGetPeer() { + $this->assertTrue($this->call->getPeer() == 'localhost:' . self::$port); + } } |