aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2010-10-23 18:03:49 +0200
committerAndreas Fischer <bantu@phpbb.com>2010-10-23 18:06:46 +0200
commit0f49e529407e0b20610f980ff3cac47dcf141db1 (patch)
tree87312f1b4f2eb9614f6b95f740920d0a441a9b8a /tests/download
parent[ticket/9627] Adding unit tests for http_byte_range(). (diff)
downloadphpbb-0f49e529407e0b20610f980ff3cac47dcf141db1.tar.gz
phpbb-0f49e529407e0b20610f980ff3cac47dcf141db1.tar.bz2
phpbb-0f49e529407e0b20610f980ff3cac47dcf141db1.zip
[ticket/9627] Prefix function names with 'phpbb_'.
PHPBB3-9627
Diffstat (limited to 'tests/download')
-rw-r--r--tests/download/http_byte_range.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/download/http_byte_range.php b/tests/download/http_byte_range.php
index 075311a47c..cc42dee353 100644
--- a/tests/download/http_byte_range.php
+++ b/tests/download/http_byte_range.php
@@ -16,15 +16,15 @@ class phpbb_download_http_byte_range_test extends phpbb_test_case
{
// Missing 'bytes=' prefix
$_SERVER['HTTP_RANGE'] = 'bztes=';
- $this->assertEquals(false, find_range_request());
+ $this->assertEquals(false, phpbb_find_range_request());
unset($_SERVER['HTTP_RANGE']);
$_ENV['HTTP_RANGE'] = 'bztes=';
- $this->assertEquals(false, find_range_request());
+ $this->assertEquals(false, phpbb_find_range_request());
unset($_ENV['HTTP_RANGE']);
$_SERVER['HTTP_RANGE'] = 'bytes=0-0,123-125';
- $this->assertEquals(array('0-0', '123-125'), find_range_request());
+ $this->assertEquals(array('0-0', '123-125'), phpbb_find_range_request());
unset($_SERVER['HTTP_RANGE']);
}
@@ -33,7 +33,7 @@ class phpbb_download_http_byte_range_test extends phpbb_test_case
*/
public function test_parse_range_request($request_array, $filesize, $expected)
{
- $this->assertEquals($expected, parse_range_request($request_array, $filesize));
+ $this->assertEquals($expected, phpbb_parse_range_request($request_array, $filesize));
}
public function parse_range_request_data()