From 40937e21c58399a847d04f23423622b0e1894446 Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Sun, 29 Jun 2014 00:29:08 +0200 Subject: [ticket/12775] Renamed to \phpbb\di\container_builder PHPBB3-12775 --- tests/mock/phpbb_di_container_builder.php | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 tests/mock/phpbb_di_container_builder.php (limited to 'tests/mock/phpbb_di_container_builder.php') diff --git a/tests/mock/phpbb_di_container_builder.php b/tests/mock/phpbb_di_container_builder.php new file mode 100644 index 0000000000..235fa32b26 --- /dev/null +++ b/tests/mock/phpbb_di_container_builder.php @@ -0,0 +1,20 @@ + +* @license GNU General Public License, version 2 (GPL-2.0) +* +* For full copyright and license information, please see +* the docs/CREDITS.txt file. +* +*/ + +class phpbb_mock_phpbb_di_container_builder extends \phpbb\di\container_factory +{ + protected function get_container_filename() + { + return $this->phpbb_root_path . '../../tmp/container.' . $this->php_ext; + } +} -- cgit v1.2.1 From f2e8e928c08809202b1abf5668a46e3d9e735c38 Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Sun, 29 Jun 2014 00:35:46 +0200 Subject: [ticket/12775] Fix container_builder PHPBB3-12775 --- tests/mock/phpbb_di_container_builder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/mock/phpbb_di_container_builder.php') diff --git a/tests/mock/phpbb_di_container_builder.php b/tests/mock/phpbb_di_container_builder.php index 235fa32b26..59cdf0bb2b 100644 --- a/tests/mock/phpbb_di_container_builder.php +++ b/tests/mock/phpbb_di_container_builder.php @@ -11,7 +11,7 @@ * */ -class phpbb_mock_phpbb_di_container_builder extends \phpbb\di\container_factory +class phpbb_mock_phpbb_di_container_builder extends \phpbb\di\container_builder { protected function get_container_filename() { -- cgit v1.2.1