[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
No known key found for this signature in database
GPG key ID: 3163AB573241193A

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.');