summaryrefslogtreecommitdiff
path: root/tests/simple_unit/Soap/SoapTestCase.php
diff options
context:
space:
mode:
authorctrlaltca@gmail.com <>2011-05-21 18:14:36 +0000
committerctrlaltca@gmail.com <>2011-05-21 18:14:36 +0000
commit0892b27e326f14bd3f6229b55077ef5f9d5280b4 (patch)
tree24039ec47ba8977bf14ba435c058e758e901f185 /tests/simple_unit/Soap/SoapTestCase.php
parent6f00b28a1d9c7409c956a83866eac48a9493e83c (diff)
branch/3.1: merged bugfixes from trunk/ up to current
Diffstat (limited to 'tests/simple_unit/Soap/SoapTestCase.php')
-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
+?>