Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed more status/statuses confusion

  • Loading branch information...
commit de30ed7d2af6f64a21eb81d791013717d7f2ad94 1 parent 4f47134
@barnabywalters authored
View
2  tests/BarnabyWalters/Posse/EventListener/TwitterSyndicatorTest.php
@@ -116,7 +116,7 @@ public function testDownstreamDuplicateAddedAfterSyndication() {
$t->syndicateToTwitter($event);
- $tweetUrl = 'https://twitter.com/username/statuses/12345678';
+ $tweetUrl = 'https://twitter.com/username/status/12345678';
$this->assertContains($tweetUrl, $object['downstreamDuplicates']);
}
View
2  tests/BarnabyWalters/Posse/HelpersTest.php
@@ -21,7 +21,7 @@ class HelpersTest extends \PHPUnit_Framework_TestCase {
public function testPrepareContentForTwitter() {
$text = 'Lots and lots and lots of very long text Lots and lots and lots of very long text Lots and lots and lots of very long text';
$url = 'http://example.com';
- $inReplyTo = 'https://twitter.com/someuser/statuses/100';
+ $inReplyTo = 'https://twitter.com/someuser/status/100';
$result = Helpers::prepareForTwitter($text, $url, $inReplyTo);
Please sign in to comment.
Something went wrong with that request. Please try again.