mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/15055] Further fixes to ensure PHP 7.1 & mssql compatibility
PHPBB3-15055
This commit is contained in:
@@ -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());
|
||||
|
@@ -509,7 +509,6 @@ class phpbb_functional_test_case extends phpbb_test_case
|
||||
else
|
||||
{
|
||||
$db->sql_multi_insert(STYLES_TABLE, array(array(
|
||||
'style_id' => $style_id,
|
||||
'style_name' => $style_path,
|
||||
'style_copyright' => '',
|
||||
'style_active' => 1,
|
||||
|
Reference in New Issue
Block a user