From 0892b27e326f14bd3f6229b55077ef5f9d5280b4 Mon Sep 17 00:00:00 2001 From: "ctrlaltca@gmail.com" <> Date: Sat, 21 May 2011 18:14:36 +0000 Subject: branch/3.1: merged bugfixes from trunk/ up to current --- tests/simple_unit/Soap/SoapTestCase.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/simple_unit') 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 +?> -- cgit v1.2.3