aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dbal/write_test.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dbal/write_test.php')
-rw-r--r--tests/dbal/write_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/dbal/write_test.php b/tests/dbal/write_test.php
index 98709fb043..4fa5cc37a2 100644
--- a/tests/dbal/write_test.php
+++ b/tests/dbal/write_test.php
@@ -67,7 +67,7 @@ class phpbb_dbal_write_test extends phpbb_database_test_case
$result = $db->sql_query($sql);
$rows = $db->sql_fetchrowset($result);
- $this->assertEquals(1, sizeof($rows));
+ $this->assertEquals(1, count($rows));
$this->assertEquals('config2', $rows[0]['config_name']);
$db->sql_freeresult($result);