Skip to content

Commit

Permalink
Update Twitter / X test URL
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanie-moreonion committed Aug 20, 2024
1 parent ecd062c commit f7505b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ShareUrlTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function testShareUrls() {
$this->assertEquals('https://www.facebook.com/sharer.php', $fb['href']);
$this->assertStringContainsString('node/' . $node->nid, $fb['query']['u']);

$this->assertEquals('https://twitter.com/intent/tweet', $twitter['href']);
$this->assertEquals('https://x.com/intent/post', $twitter['href']);
$this->assertStringContainsString('node/' . $node->nid, $twitter['query']['text']);
$this->assertStringContainsString('utm_campaign=%5B' . $node->nid . '%5D', $twitter['query']['text']);

Expand Down

0 comments on commit f7505b0

Please sign in to comment.