diff options
author | Brion Vibber <brion@pobox.com> | 2010-03-23 08:21:32 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-03-23 08:21:32 -0700 |
commit | a5c78a6f1a7bef591e136ca23f7a133f8905475a (patch) | |
tree | 5ab54039ea0ce4982ebf84e0ba05109f0ec467a9 /tests/UserFeedParseTest.php | |
parent | 68a5fba24847991330d1a31b3c3f875c5d02cb6e (diff) | |
parent | 5b0b6097e0e47c84c2e47c8a14421a58be1fac19 (diff) |
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.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'); } |