mirror of
https://github.com/phpbb/phpbb.git
synced 2025-01-18 22:58:10 +01:00
[ticket/11192] Also test strings, e.g. sums returned by the database.
PHPBB3-11192
This commit is contained in:
parent
b7ec639945
commit
09c8c58a5c
@ -54,4 +54,14 @@ class phpbb_get_formatted_filesize_test extends phpbb_test_case
|
||||
|
||||
$this->assertEquals($expected, $output);
|
||||
}
|
||||
|
||||
/**
|
||||
* @dataProvider get_formatted_filesize_test_data
|
||||
*/
|
||||
public function test_get_formatted_filesize_string($input, $expected)
|
||||
{
|
||||
$output = get_formatted_filesize("$input");
|
||||
|
||||
$this->assertEquals($expected, $output);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user