diff options
author | Brion Vibber <brion@pobox.com> | 2010-03-24 14:11:01 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-03-24 14:11:01 -0700 |
commit | c3ceaa893fa878d531b0af05a3a8ed367177848c (patch) | |
tree | 69373ab2bbdb6dd516487752efd8889eeed8b31e /tests/UserFeedParseTest.php | |
parent | 886e28aaa9e4e9a524d5b1a933a2d2a13994aec9 (diff) | |
parent | ecb009bcf5a6893b90d153be18c423dd7377796d (diff) |
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 1.0.x
Diffstat (limited to 'tests/UserFeedParseTest.php')
-rw-r--r-- | tests/UserFeedParseTest.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/UserFeedParseTest.php b/tests/UserFeedParseTest.php index b3f9a6417..208e71be6 100644 --- a/tests/UserFeedParseTest.php +++ b/tests/UserFeedParseTest.php @@ -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'); } |