diff options
| author | Marc Alexander <admin@m-a-styles.de> | 2019-10-26 21:35:32 +0200 |
|---|---|---|
| committer | Marc Alexander <admin@m-a-styles.de> | 2019-10-26 21:35:32 +0200 |
| commit | 6a7ed40b0500a79bd63679d22f67aa1762d95fde (patch) | |
| tree | 9ad5cac3dd8bdc165d855834a7a76f985ed46800 /tests/functional/feed_test.php | |
| parent | fa18778c913dc1fafc6baaadf42def2bab4dc248 (diff) | |
| parent | 88d94a7c1992e43dd8300ba41352e36d3d2c6381 (diff) | |
| download | forums-6a7ed40b0500a79bd63679d22f67aa1762d95fde.tar forums-6a7ed40b0500a79bd63679d22f67aa1762d95fde.tar.gz forums-6a7ed40b0500a79bd63679d22f67aa1762d95fde.tar.bz2 forums-6a7ed40b0500a79bd63679d22f67aa1762d95fde.tar.xz forums-6a7ed40b0500a79bd63679d22f67aa1762d95fde.zip | |
Merge pull request #5681 from v12mike/ticket/16150
[ticket/16150] Make post subject link an absolute url
Diffstat (limited to 'tests/functional/feed_test.php')
| -rw-r--r-- | tests/functional/feed_test.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/functional/feed_test.php b/tests/functional/feed_test.php index 3792b0a23c..725a44ae5e 100644 --- a/tests/functional/feed_test.php +++ b/tests/functional/feed_test.php @@ -337,7 +337,7 @@ class phpbb_functional_feed_test extends phpbb_functional_test_case // Test creating a reply $post2 = $this->create_post($this->data['forums']['Feeds #news'], $post['topic_id'], 'Re: Feeds #news - Topic #2', 'This is a test post posted by the testing framework.'); - $crawler = self::request('GET', "viewtopic.php?t={$post2['topic_id']}&sid={$this->sid}"); + $crawler = self::request('GET', "viewtopic.php?p={$post2['post_id']}&sid={$this->sid}"); self::assertContains('Re: Feeds #news - Topic #2', $crawler->filter('html')->text()); $this->data['posts']['Re: Feeds #news - Topic #2'] = (int) $post2['post_id']; @@ -493,7 +493,7 @@ class phpbb_functional_feed_test extends phpbb_functional_test_case // Test creating a reply $post2 = $this->create_post($this->data['forums']['Feeds #1'], $post['topic_id'], 'Re: Feeds #1 - Topic #2', 'This is a test post posted by the testing framework.'); - $crawler = self::request('GET', "viewtopic.php?t={$post2['topic_id']}&sid={$this->sid}"); + $crawler = self::request('GET', "viewtopic.php?p={$post2['post_id']}&sid={$this->sid}"); self::assertContains('Re: Feeds #1 - Topic #2', $crawler->filter('html')->text()); $this->data['posts']['Re: Feeds #1 - Topic #2'] = (int) $post2['post_id']; @@ -1222,7 +1222,7 @@ class phpbb_functional_feed_test extends phpbb_functional_test_case // Test creating a reply with 1 missing attachment $post2 = $this->create_post($this->data['forums']['Feeds #1'], $this->data['topics']['Feeds #1 - Topic #3'], 'Re: Feeds #1 - Topic #3-1', 'This is a test post posted by the testing framework. [attachment=0]Attachment #0[/attachment]'); - $crawler = self::request('GET', "viewtopic.php?t={$post2['topic_id']}&sid={$this->sid}"); + $crawler = self::request('GET', "viewtopic.php?p={$post2['post_id']}&sid={$this->sid}"); self::assertContains('Re: Feeds #1 - Topic #3-1', $crawler->filter('html')->text()); $this->data['posts']['Re: Feeds #1 - Topic #3-1'] = (int) $post2['post_id']; |
