diff options
author | James Walker <walkah@walkah.net> | 2010-02-25 23:49:45 -0500 |
---|---|---|
committer | James Walker <walkah@walkah.net> | 2010-02-25 23:49:45 -0500 |
commit | 7c8031dc4bf6ece83db893e13d89ced10c2f6b62 (patch) | |
tree | 9b48e3d511642450ac0566b00cfb6f2d8ae109aa /tests/ActivityParseTests.php | |
parent | 855692141d531287b179841b8816e90023b6ba7b (diff) | |
parent | 02300ebfb08bfcd52f4ab34d1041455079ebf2ec (diff) |
Merge remote branch 'statusnet/testing' into testing
Conflicts:
plugins/OStatus/lib/webfinger.php
Diffstat (limited to 'tests/ActivityParseTests.php')
-rw-r--r-- | tests/ActivityParseTests.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/ActivityParseTests.php b/tests/ActivityParseTests.php index d1d871734..7bf9cec7c 100644 --- a/tests/ActivityParseTests.php +++ b/tests/ActivityParseTests.php @@ -121,10 +121,14 @@ class ActivityParseTests extends PHPUnit_Framework_TestCase $this->assertEquals($act->actor->title, 'Test User'); $this->assertEquals($act->actor->id, 'http://example.net/mysite/user/3'); $this->assertEquals($act->actor->link, 'http://example.net/mysite/testuser'); + + $avatars = $act->actor->avatarLinks; + $this->assertEquals( - $act->actor->avatar, - 'http://example.net/mysite/avatar/3-96-20100224004207.jpeg' + $avatars[0]->url, + 'http://example.net/mysite/avatar/3-96-20100224004207.jpeg' ); + $this->assertEquals($act->actor->displayName, 'Test User'); $poco = $act->actor->poco; |