aboutsummaryrefslogtreecommitdiffstats
path: root/tests/cache/cache_memory_test.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cache/cache_memory_test.php')
-rw-r--r--tests/cache/cache_memory_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cache/cache_memory_test.php b/tests/cache/cache_memory_test.php
index 9f92e8d8dc..ba1010bcf3 100644
--- a/tests/cache/cache_memory_test.php
+++ b/tests/cache/cache_memory_test.php
@@ -116,7 +116,7 @@ class phpbb_cache_memory_test extends phpbb_database_test_case
$results[] = $row;
}
$this->cache->sql_freeresult($query_id);
- $this->assertEquals($query[1], sizeof($results));
+ $this->assertEquals($query[1], count($results));
}
$this->cache->destroy('sql', $table);