diff options
author | Roger Meier <roger@apache.org> | 2012-01-20 15:31:45 +0000 |
---|---|---|
committer | Roger Meier <roger@apache.org> | 2012-01-20 15:31:45 +0000 |
commit | 3ac6d879280568e9a1a6efd7cd0255f34d4cb1ba (patch) | |
tree | 35786b00da71ba76d4d2add7ab8649654a6a442d /test/php | |
parent | bc2be31e4805057bda22860713eba72ecf645cd4 (diff) | |
download | thrift-3ac6d879280568e9a1a6efd7cd0255f34d4cb1ba.tar.gz |
THRIFT-1495 PHP TestClient fatals on missing class
Patch: Andrew Grumet
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1233958 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/php')
-rwxr-xr-x[-rw-r--r--] | test/php/TestClient.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/php/TestClient.php b/test/php/TestClient.php index 653b86507..009137b37 100644..100755 --- a/test/php/TestClient.php +++ b/test/php/TestClient.php @@ -72,17 +72,17 @@ $socket->setDebug(TRUE); if ($MODE == 'inline') { $transport = $socket; - $testClient = new ThriftTestClient($transport); + $testClient = new ThriftTest_ThriftTestClient($transport); } else if ($MODE == 'framed') { $framedSocket = new TFramedTransport($socket); $transport = $framedSocket; $protocol = new TBinaryProtocol($transport); - $testClient = new ThriftTestClient($protocol); + $testClient = new ThriftTest_ThriftTestClient($protocol); } else { $bufferedSocket = new TBufferedTransport($socket, 1024, 1024); $transport = $bufferedSocket; $protocol = new TBinaryProtocol($transport); - $testClient = new ThriftTestClient($protocol); + $testClient = new ThriftTest_ThriftTestClient($protocol); } $transport->open(); |