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
diff --git a/test/php/TestClient.php b/test/php/TestClient.php
old mode 100644
new mode 100755
index 653b865..009137b
--- a/test/php/TestClient.php
+++ b/test/php/TestClient.php
@@ -72,17 +72,17 @@
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();