aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional/download_test.php
diff options
context:
space:
mode:
authorv12mike <v12mike@ingenious.co.nz>2019-09-08 14:23:09 -0400
committerv12mike <v12mike@ingenious.co.nz>2019-09-08 14:23:09 -0400
commit88d94a7c1992e43dd8300ba41352e36d3d2c6381 (patch)
treeddbad9bb20f05e230dce74c244716c9e2eb866d1 /tests/functional/download_test.php
parentc31216e4930645df808577dea017642f0495989f (diff)
downloadforums-88d94a7c1992e43dd8300ba41352e36d3d2c6381.tar
forums-88d94a7c1992e43dd8300ba41352e36d3d2c6381.tar.gz
forums-88d94a7c1992e43dd8300ba41352e36d3d2c6381.tar.bz2
forums-88d94a7c1992e43dd8300ba41352e36d3d2c6381.tar.xz
forums-88d94a7c1992e43dd8300ba41352e36d3d2c6381.zip
[ticket/16150] Make post subject links reliable
Change links that were relative to topic page into absolute links. Update related test cases. PHPBB3-16150
Diffstat (limited to 'tests/functional/download_test.php')
-rw-r--r--tests/functional/download_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functional/download_test.php b/tests/functional/download_test.php
index e2f1d065be..3d4f316d72 100644
--- a/tests/functional/download_test.php
+++ b/tests/functional/download_test.php
@@ -55,7 +55,7 @@ class phpbb_functional_download_test extends phpbb_functional_test_case
// Test creating a reply
$post2 = $this->create_post($this->data['forums']['Download #1'], $post['topic_id'], 'Re: Download Topic #1-#2', 'This is a test post posted by the testing framework.', array('upload_files' => 1));
- $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}");
$this->assertContains('Re: Download Topic #1-#2', $crawler->filter('html')->text());
$this->data['posts']['Re: Download Topic #1-#2'] = (int) $post2['post_id'];