[ticket/634] Remove unused sql_table_exists() function
B3P-634
This commit is contained in:
@@ -31,23 +31,6 @@ class phpbb_unit_functions_functions_test extends \board3\portal\tests\testframe
|
||||
->will($this->returnValue(array('match' => array('/disallowed_word/'), 'replace' => array(''))));
|
||||
}
|
||||
|
||||
public function data_sql_table_exists()
|
||||
{
|
||||
return array(
|
||||
array(true, 'phpbb_config'),
|
||||
array(true, 'phpbb_styles'),
|
||||
array(false, 'phpbb_foobar'),
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @dataProvider data_sql_table_exists
|
||||
*/
|
||||
public function test_sql_table_exists($expected, $table)
|
||||
{
|
||||
$this->assertEquals($expected, sql_table_exists($table));
|
||||
}
|
||||
|
||||
public function data_character_limit()
|
||||
{
|
||||
return array(
|
||||
|
||||
Reference in New Issue
Block a user