1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-25 11:01:48 +02:00

[ticket/16510] Run feed test without displaying unapproved posts

PHPBB3-16510
This commit is contained in:
kasimi
2020-06-06 21:48:43 +02:00
parent b5a1c54ab2
commit 2d1e8dc8a0

View File

@@ -55,6 +55,8 @@ class phpbb_functional_test_case extends phpbb_test_case
// installed, and also before each test case is run.
self::$config['table_prefix'] = 'phpbb_';
self::$config['display_unapproved_posts'] = false;
if (!isset(self::$config['phpbb_functional_url']))
{
self::markTestSkipped('phpbb_functional_url was not set in test_config and wasn\'t set as PHPBB_FUNCTIONAL_URL environment variable either.');