aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dbal
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dbal')
-rw-r--r--tests/dbal/select_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/dbal/select_test.php b/tests/dbal/select_test.php
index 9d46b47b17..21b12777dc 100644
--- a/tests/dbal/select_test.php
+++ b/tests/dbal/select_test.php
@@ -373,7 +373,7 @@ class phpbb_dbal_select_test extends phpbb_database_test_case
if (is_string($actual) && isset($actual[0]) && $actual[0] === '~')
{
- $actual = substr($actual, -1);
+ $actual = substr($actual, 1);
}
$this->assertGreaterThan(