]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - tests/UserFeedParseTest.php
AtomPub tetss: confirming edit URL linked properly in individual entry return
[quix0rs-gnu-social.git] / tests / UserFeedParseTest.php
index b3f9a64171f2a8d30972c983c31a832792d1e02b..208e71be69af40276ea197529ff8ea010aa30483 100644 (file)
@@ -66,11 +66,11 @@ class UserFeedParseTests extends PHPUnit_Framework_TestCase
         // test the post
 
         //var_export($act1);
-        $this->assertEquals($act1->object->type, 'http://activitystrea.ms/schema/1.0/note');
-        $this->assertEquals($act1->object->title, 'And now for something completely insane...');
+        $this->assertEquals($act1->objects[0]->type, 'http://activitystrea.ms/schema/1.0/note');
+        $this->assertEquals($act1->objects[0]->title, 'And now for something completely insane...');
 
-        $this->assertEquals($act1->object->content, 'And now for something completely insane...');
-        $this->assertEquals($act1->object->id, 'http://localhost/statusnet/notice/3');
+        $this->assertEquals($act1->objects[0]->content, 'And now for something completely insane...');
+        $this->assertEquals($act1->objects[0]->id, 'http://localhost/statusnet/notice/3');
 
     }