mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/10013] Fixed cache test to create intermediate directories.
PHPBB3-10013
This commit is contained in:
committed by
Igor Wiedler
parent
8de411cc25
commit
4e446277a5
4
tests/cache/cache_test.php
vendored
4
tests/cache/cache_test.php
vendored
@@ -15,7 +15,7 @@ class phpbb_cache_test extends phpbb_test_case
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->cache_dir = dirname(__FILE__) . '/../tmp/cache';
|
||||
$this->cache_dir = dirname(__FILE__) . '/../tmp/cache/';
|
||||
}
|
||||
|
||||
protected function setUp()
|
||||
@@ -39,7 +39,7 @@ class phpbb_cache_test extends phpbb_test_case
|
||||
|
||||
private function create_cache_dir()
|
||||
{
|
||||
mkdir($this->cache_dir);
|
||||
$this->get_test_case_helpers()->makedirs($this->cache_dir);
|
||||
}
|
||||
|
||||
private function remove_cache_dir()
|
||||
|
Reference in New Issue
Block a user