1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-20 07:21:30 +02:00

[feature/soft-delete]Fix the rest of unit tests failures

PHPBB3-9567
This commit is contained in:
Joas Schilling
2012-11-10 16:41:43 +01:00
parent 948bfcbe77
commit 51966bd497
7 changed files with 24 additions and 6 deletions

View File

@@ -66,8 +66,9 @@ class phpbb_content_visibility_get_visibility_sql_test extends phpbb_database_te
*/
public function test_get_visibility_sql($table, $mode, $forum_id, $table_alias, $permissions, $expected)
{
global $db, $auth;
global $cache, $db, $auth;
$cache = new phpbb_mock_cache;
$db = $this->new_dbal();
// Create auth mock