mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-23 18:38:53 +00:00
[ticket/16510] Run feed test without displaying unapproved posts
PHPBB3-16510
This commit is contained in:
parent
b5a1c54ab2
commit
2d1e8dc8a0
1 changed files with 2 additions and 0 deletions
|
@ -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.');
|
||||
|
|
Loading…
Add table
Reference in a new issue