From f7505b084e94b9dd94b60f92ff1b0ae7bd207506 Mon Sep 17 00:00:00 2001 From: Stephanie Schafrath Date: Tue, 20 Aug 2024 12:27:50 +0200 Subject: [PATCH] Update Twitter / X test URL --- tests/ShareUrlTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ShareUrlTest.php b/tests/ShareUrlTest.php index b778723..de50c1d 100644 --- a/tests/ShareUrlTest.php +++ b/tests/ShareUrlTest.php @@ -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']);