summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorrojaro <>2011-05-10 17:58:37 +0000
committerrojaro <>2011-05-10 17:58:37 +0000
commit7c29913f89d0f16f63c4e457e1a232df6e51e905 (patch)
tree55ccfbfad33a2141a9ef3d6ff1a6ceeae7a1ed6f /tests
parent96b9ac57d104182292983c671e2a4b81f71fda47 (diff)
php 5.3 compatibility fix
Diffstat (limited to 'tests')
-rw-r--r--tests/simple_unit/Soap/SoapTestCase.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/simple_unit/Soap/SoapTestCase.php b/tests/simple_unit/Soap/SoapTestCase.php
index 78a6875b..d297ce41 100644
--- a/tests/simple_unit/Soap/SoapTestCase.php
+++ b/tests/simple_unit/Soap/SoapTestCase.php
@@ -21,7 +21,7 @@ class SoapTestCase extends UnitTestCase
{
$result = $this->getClient()->getContacts();
$this->assertEqual(count($result), 1);
- $obj = $result[0];
+ $obj = $result->Contact;
$this->assertEqual($obj->name, "me");
$this->assertEqual($obj->id, 1);
$this->assertEqual($obj->address->street, "sesamstreet");
@@ -88,4 +88,4 @@ class SoapTestCase extends UnitTestCase
}
}
-?> \ No newline at end of file
+?>