aboutsummaryrefslogtreecommitdiffstats
path: root/tests/console
diff options
context:
space:
mode:
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());