diff --git a/tests/bootstrap.php b/tests/bootstrap.php index a4e59d86..87344530 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -11,6 +11,11 @@ if (file_exists('/etc/froxlor-test.pwd') && file_exists('/etc/froxlor-test.rpwd' define('TRAVIS_CI', 1); } +if (@php_sapi_name() !== 'cli') { + // not to be called via browser + die; +} + $userdata_content = "