aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional/feed_test.php
diff options
context:
space:
mode:
authorTristan Darricau <tristan.darricau@sensiolabs.com>2015-08-28 17:05:09 +0200
committerTristan Darricau <tristan.darricau@sensiolabs.com>2015-08-28 17:05:09 +0200
commitbfbce5a1b0b2e22ea2027d82d87c8bc32917a5b2 (patch)
tree3493189e256e12a56b134b3f33f4b4b35dc339f1 /tests/functional/feed_test.php
parent624f5ae921e0cb0967f0945fbb9c071617fb9ad8 (diff)
parent7e1b0330a3ddd269c85047912c956daf930018cc (diff)
downloadforums-bfbce5a1b0b2e22ea2027d82d87c8bc32917a5b2.tar
forums-bfbce5a1b0b2e22ea2027d82d87c8bc32917a5b2.tar.gz
forums-bfbce5a1b0b2e22ea2027d82d87c8bc32917a5b2.tar.bz2
forums-bfbce5a1b0b2e22ea2027d82d87c8bc32917a5b2.tar.xz
forums-bfbce5a1b0b2e22ea2027d82d87c8bc32917a5b2.zip
Merge pull request #3764 from Zoddo/ticket/13988
[ticket/13988] Use absolute path for image attachments in feeds * Zoddo/ticket/13988: [ticket/13988] Update tests [ticket/13988] Use absolute path for image attachments in feeds
Diffstat (limited to 'tests/functional/feed_test.php')
-rw-r--r--tests/functional/feed_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functional/feed_test.php b/tests/functional/feed_test.php
index 9041c8dc69..ad5c4a5cab 100644
--- a/tests/functional/feed_test.php
+++ b/tests/functional/feed_test.php
@@ -1395,7 +1395,7 @@ class phpbb_functional_feed_test extends phpbb_functional_test_case
foreach ($attachments as $i => $attachment)
{
$content = $crawler->filterXPath("//entry[{$entry_id}]/content")->text();
- $url = "./download/file.php?id={$attachment['id']}";
+ $url = self::$root_url . "download/file.php?id={$attachment['id']}";
$string = "Attachment #{$i}";
if ($attachment['displayed'])