diff options
author | Tristan Darricau <github@nicofuma.fr> | 2014-06-28 02:02:27 +0200 |
---|---|---|
committer | Tristan Darricau <github@nicofuma.fr> | 2014-07-07 01:02:30 +0200 |
commit | 926e47e5a151411822f858191a9b738012d9ef9b (patch) | |
tree | e24c11e355069f5ff9fbc59a41cb0062d42c1031 | |
parent | afffec81847c3414c7e33a3b83cd750853aafddd (diff) | |
download | forums-926e47e5a151411822f858191a9b738012d9ef9b.tar forums-926e47e5a151411822f858191a9b738012d9ef9b.tar.gz forums-926e47e5a151411822f858191a9b738012d9ef9b.tar.bz2 forums-926e47e5a151411822f858191a9b738012d9ef9b.tar.xz forums-926e47e5a151411822f858191a9b738012d9ef9b.zip |
[ticket/12775] Fix unit tests
PHPBB3-12775
-rw-r--r-- | tests/di/create_container_test.php | 2 | ||||
-rw-r--r-- | tests/mock/container_factory.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/di/create_container_test.php b/tests/di/create_container_test.php index d41f1af5ae..a71da1734d 100644 --- a/tests/di/create_container_test.php +++ b/tests/di/create_container_test.php @@ -32,7 +32,7 @@ namespace $this->config_php = new \phpbb\config_php($this->phpbb_root_path . 'fixtures/', 'php'); $this->factory = new phpbb_mock_container_factory($this->config_php, $this->phpbb_root_path . 'fixtures/', 'php'); - $this->filename = $this->phpbb_root_path . '../tmp/cache/container.php'; + $this->filename = $this->phpbb_root_path . '../tmp/container.php'; if (is_file($this->filename)) { unlink($this->filename); diff --git a/tests/mock/container_factory.php b/tests/mock/container_factory.php index 8b1720d027..d547c8dd68 100644 --- a/tests/mock/container_factory.php +++ b/tests/mock/container_factory.php @@ -15,6 +15,6 @@ class phpbb_mock_container_factory extends \phpbb\di\container_factory { protected function get_container_filename() { - return $this->phpbb_root_path . '../../tmp/cache/container.' . $this->php_ext; + return $this->phpbb_root_path . '../../tmp/container.' . $this->php_ext; } } |