mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-14 04:42:04 +02:00
[ticket/12620] Use the test environment for the tests
PHPBB3-12620
This commit is contained in:
parent
91daa73663
commit
dd4f2387fd
@ -283,6 +283,8 @@
|
||||
<delete file="${dir}/config.php" />
|
||||
<delete dir="${dir}/develop" />
|
||||
<delete dir="${dir}/install/data" />
|
||||
<delete dir="${dir}/config/development" />
|
||||
<delete dir="${dir}/config/test" />
|
||||
|
||||
<phingcall target="clean-vendor-dir">
|
||||
<property name="dir" value="${dir}" />
|
||||
|
5
phpBB/config/test/config.yml
Normal file
5
phpBB/config/test/config.yml
Normal file
@ -0,0 +1,5 @@
|
||||
imports:
|
||||
- { resource: ../default/config.yml }
|
||||
|
||||
core:
|
||||
require_dev_dependencies: true
|
3
phpBB/config/test/container/environment.yml
Normal file
3
phpBB/config/test/container/environment.yml
Normal file
@ -0,0 +1,3 @@
|
||||
imports:
|
||||
- { resource: services.yml }
|
||||
- { resource: parameters.yml }
|
2
phpBB/config/test/container/parameters.yml
Normal file
2
phpBB/config/test/container/parameters.yml
Normal file
@ -0,0 +1,2 @@
|
||||
imports:
|
||||
- { resource: ../../default/container/parameters.yml }
|
2
phpBB/config/test/container/services.yml
Normal file
2
phpBB/config/test/container/services.yml
Normal file
@ -0,0 +1,2 @@
|
||||
imports:
|
||||
- { resource: ../../default/container/services.yml }
|
2
phpBB/config/test/routing.yml
Normal file
2
phpBB/config/test/routing.yml
Normal file
@ -0,0 +1,2 @@
|
||||
core.default:
|
||||
resource: "../default/routing.yml"
|
@ -12,7 +12,7 @@
|
||||
*/
|
||||
|
||||
define('IN_PHPBB', true);
|
||||
define('PHPBB_ENVIRONMENT', 'development');
|
||||
define('PHPBB_ENVIRONMENT', 'test');
|
||||
|
||||
$phpbb_root_path = 'phpBB/';
|
||||
$phpEx = 'php';
|
||||
|
@ -13,8 +13,6 @@
|
||||
|
||||
namespace
|
||||
{
|
||||
define('PHPBB_ENVIRONMENT', 'production');
|
||||
|
||||
require_once dirname(__FILE__) . '/../../phpBB/includes/functions.php';
|
||||
require_once dirname(__FILE__) . '/fixtures/ext/vendor/enabled_4/di/extension.php';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user