Permalink
Browse files

Display details if test failed.

git-svn-id: http://svn.php.net/repository/pear/packages/SOAP_Interop/trunk@228162 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
1 parent cc67b79 commit 69fb19ea919b3618d9b34f19d9b6419f921a1ae0 Jan Schneider committed Jan 26, 2007
Showing with 3 additions and 0 deletions.
  1. +3 −0 interop_test.php
View
@@ -122,6 +122,9 @@ function showTestResult($debug = 0)
$fault = $this->result['fault'];
if ($fault) {
echo "FAILED: [{$fault->faultcode}] {$fault->faultstring}\n";
+ if (!empty($fault->faultdetail)) {
+ echo $fault->faultdetail . "\n";
+ }
} else {
echo "FAILED: " . $this->result['result'] . "\n";
}

0 comments on commit 69fb19e

Please sign in to comment.