summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2010-03-21 18:47:43 -0700
committerZach Copley <zach@status.net>2010-03-21 18:47:43 -0700
commita0a9acb9a284910e6b7dd95c847e8226dde7732d (patch)
treee5fe2d9f9872c24e79e1cfc710d68d3258434bdb
parent5d3bce49b896c1b13453e1b5673d4a5abf2bcdd1 (diff)
Fix broken assertion
-rw-r--r--tests/ActivityParseTests.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ActivityParseTests.php b/tests/ActivityParseTests.php
index 9d8fd47af..02d2ed734 100644
--- a/tests/ActivityParseTests.php
+++ b/tests/ActivityParseTests.php
@@ -207,7 +207,7 @@ class ActivityParseTests extends PHPUnit_Framework_TestCase
$this->assertTrue(is_array($actor->avatarLinks));
$this->assertEquals(1, count($actor->avatarLinks));
$this->assertEquals('http://files.posterous.com/user_profile_pics/480326/2009-08-05-142447.jpg',
- $actor->avatarLinks[0]);
+ $actor->avatarLinks[0]->url);
$this->assertNotNull($actor->poco);
$this->assertEquals('evanpro', $actor->poco->preferredUsername);
$this->assertEquals('Evan Prodromou', $actor->poco->displayName);