mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-05 00:07:44 +02:00
[ticket/10653] Fix parameter to substr() in unit tests. Should be 1, not -1.
PHPBB3-10653
This commit is contained in:
@@ -373,7 +373,7 @@ class phpbb_dbal_select_test extends phpbb_database_test_case
|
|||||||
|
|
||||||
if (is_string($actual) && isset($actual[0]) && $actual[0] === '~')
|
if (is_string($actual) && isset($actual[0]) && $actual[0] === '~')
|
||||||
{
|
{
|
||||||
$actual = substr($actual, -1);
|
$actual = substr($actual, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->assertGreaterThan(
|
$this->assertGreaterThan(
|
||||||
|
Reference in New Issue
Block a user