aboutsummaryrefslogtreecommitdiffstats
path: root/tests/console
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2017-01-29 11:05:45 +0100
committerMarc Alexander <admin@m-a-styles.de>2018-01-01 18:54:08 +0100
commit66143e99bee0931b77c50d9e3b1fbd0b9629e48d (patch)
treeafac0e0f0aae352ee16329803e770c66a2381b2c /tests/console
parent4a2e203a80a4ab8f7983b8b203de38b37bd8764c (diff)
downloadforums-66143e99bee0931b77c50d9e3b1fbd0b9629e48d.tar
forums-66143e99bee0931b77c50d9e3b1fbd0b9629e48d.tar.gz
forums-66143e99bee0931b77c50d9e3b1fbd0b9629e48d.tar.bz2
forums-66143e99bee0931b77c50d9e3b1fbd0b9629e48d.tar.xz
forums-66143e99bee0931b77c50d9e3b1fbd0b9629e48d.zip
[ticket/15055] Further fixes to ensure PHP 7.1 & mssql compatibility
PHPBB3-15055
Diffstat (limited to 'tests/console')
-rw-r--r--tests/console/user/base.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/console/user/base.php b/tests/console/user/base.php
index b84c0bb267..6e5436fb9d 100644
--- a/tests/console/user/base.php
+++ b/tests/console/user/base.php
@@ -34,6 +34,11 @@ abstract class phpbb_console_user_base extends phpbb_database_test_case
{
global $auth, $db, $cache, $config, $user, $phpbb_dispatcher, $phpbb_container, $phpbb_root_path, $phpEx;
+ if (strtolower(substr(PHP_OS, 0, 5)) !== 'linux')
+ {
+ $this->markTestSkipped('Unable to test console feature on OS other than Linux.');
+ }
+
$phpbb_dispatcher = new phpbb_mock_event_dispatcher();
$phpbb_container = new phpbb_mock_container_builder();
$phpbb_container->set('cache.driver', new phpbb_mock_cache());