aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/functions/update_rows_avoiding_duplicates_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functions/update_rows_avoiding_duplicates_test.php b/tests/functions/update_rows_avoiding_duplicates_test.php
index 0c9ae068a4..0d68e22d4a 100644
--- a/tests/functions/update_rows_avoiding_duplicates_test.php
+++ b/tests/functions/update_rows_avoiding_duplicates_test.php
@@ -59,7 +59,7 @@ class phpbb_update_rows_avoiding_duplicates_test extends phpbb_database_test_cas
phpbb_update_rows_avoiding_duplicates($db, TOPICS_WATCH_TABLE, 'topic_id', $from, $to);
- $sql = 'SELECT count(*) AS remaining_rows
+ $sql = 'SELECT COUNT(*) AS remaining_rows
FROM ' . TOPICS_WATCH_TABLE . '
WHERE topic_id = ' . (int) $to;
$result = $db->sql_query($sql);