aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional/feed_test.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2019-10-26 21:35:39 +0200
committerMarc Alexander <admin@m-a-styles.de>2019-10-26 21:35:39 +0200
commitb8616fe9ace5cb21bd1d38d9998d8e4e9342b52f (patch)
treeab5c1a7f274357372ddaa4382f03916f22856d39 /tests/functional/feed_test.php
parent95880a5f4999e85d7a5dda2bfd592ddc9c231774 (diff)
parent6a7ed40b0500a79bd63679d22f67aa1762d95fde (diff)
downloadforums-b8616fe9ace5cb21bd1d38d9998d8e4e9342b52f.tar
forums-b8616fe9ace5cb21bd1d38d9998d8e4e9342b52f.tar.gz
forums-b8616fe9ace5cb21bd1d38d9998d8e4e9342b52f.tar.bz2
forums-b8616fe9ace5cb21bd1d38d9998d8e4e9342b52f.tar.xz
forums-b8616fe9ace5cb21bd1d38d9998d8e4e9342b52f.zip
Merge branch '3.2.x' into 3.3.x
Diffstat (limited to 'tests/functional/feed_test.php')
-rw-r--r--tests/functional/feed_test.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/functional/feed_test.php b/tests/functional/feed_test.php
index a3cdfb336d..24ddca9c64 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'];