mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/15055] Support console questions on windows
PHPBB3-15055
This commit is contained in:
@@ -462,10 +462,6 @@ class phpbb_dbal_db_tools_test extends phpbb_database_test_case
|
||||
// Index name has > 30 chars - that should not be possible.
|
||||
$too_long_index_name = str_repeat('i', 31);
|
||||
$this->assertFalse($this->tools->sql_index_exists('prefix_table_name', $too_long_index_name));
|
||||
if (strpos($this->tools->sql_layer, 'mssql') === false)
|
||||
{
|
||||
$this->setExpectedTriggerError(E_USER_ERROR);
|
||||
}
|
||||
$this->tools->sql_create_index('prefix_table_name', $too_long_index_name, array('c_timestamp'));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user