aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional/download_test.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2019-10-26 21:35:32 +0200
committerMarc Alexander <admin@m-a-styles.de>2019-10-26 21:35:32 +0200
commit6a7ed40b0500a79bd63679d22f67aa1762d95fde (patch)
tree9ad5cac3dd8bdc165d855834a7a76f985ed46800 /tests/functional/download_test.php
parentfa18778c913dc1fafc6baaadf42def2bab4dc248 (diff)
parent88d94a7c1992e43dd8300ba41352e36d3d2c6381 (diff)
downloadforums-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/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'];