]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix broken assertion
authorZach Copley <zach@status.net>
Mon, 22 Mar 2010 01:47:43 +0000 (18:47 -0700)
committerZach Copley <zach@status.net>
Mon, 22 Mar 2010 01:47:43 +0000 (18:47 -0700)
tests/ActivityParseTests.php

index 9d8fd47af0de703ceebb75283c71f75ea551a7cd..02d2ed734c6168012b9b0a163f36e864fadb89d8 100644 (file)
@@ -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);