Skip to content

Commit

Permalink
[ticket/11174] Global $cache is a cache service instance.
Browse files Browse the repository at this point in the history
PHPBB3-11174
  • Loading branch information
p committed Nov 27, 2012
1 parent 7dcb03f commit 79237b6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/search/mysql_test.php
Expand Up @@ -26,7 +26,7 @@ protected function setUp()
parent::setUp();

// dbal uses cache
$cache = new phpbb_cache_driver_null;
$cache = new phpbb_cache_service(new phpbb_cache_driver_null);

// set config values
$config['fulltext_mysql_min_word_len'] = 4;
Expand Down
2 changes: 1 addition & 1 deletion tests/search/native_test.php
Expand Up @@ -26,7 +26,7 @@ protected function setUp()
parent::setUp();

// dbal uses cache
$cache = new phpbb_cache_driver_null;
$cache = new phpbb_cache_service(new phpbb_cache_driver_null);

$this->db = $this->new_dbal();
$error = null;
Expand Down
2 changes: 1 addition & 1 deletion tests/search/postgres_test.php
Expand Up @@ -26,7 +26,7 @@ protected function setUp()
parent::setUp();

// dbal uses cache
$cache = new phpbb_cache_driver_null;
$cache = new phpbb_cache_service(new phpbb_cache_driver_null);

// set config values
$config['fulltext_postgres_min_word_len'] = 4;
Expand Down

0 comments on commit 79237b6

Please sign in to comment.