Merge branch '2.1.x'
Conflicts: tests/unit/event/listener_test.php
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
require_once(dirname(__FILE__) . '/../../../includes/functions.php');
|
||||
require_once(dirname(__FILE__) . '/../../../../../../includes/functions_acp.php');
|
||||
require_once(dirname(__FILE__) . '/../../../../../../includes/functions.php');
|
||||
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
require_once(dirname(__FILE__) . '/../../../includes/functions.php');
|
||||
require_once(dirname(__FILE__) . '/../../../../../../includes/functions_acp.php');
|
||||
require_once(dirname(__FILE__) . '/../../../../../../includes/functions.php');
|
||||
require_once(dirname(__FILE__) . '/../../../../../../includes/utf/utf_tools.php');
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
require_once(dirname(__FILE__) . '/../../../includes/functions.php');
|
||||
require_once(dirname(__FILE__) . '/../../../../../../includes/utf/utf_tools.php');
|
||||
require_once(dirname(__FILE__) . '/../../../../../../includes/functions_content.php');
|
||||
|
||||
@@ -34,23 +33,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(
|
||||
|
||||
@@ -7,8 +7,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
require_once(dirname(__FILE__) . '/../../../includes/functions.php');
|
||||
|
||||
class phpbb_unit_functions_get_user_groups_test extends \board3\portal\tests\testframework\database_test_case
|
||||
{
|
||||
public function getDataSet()
|
||||
|
||||
@@ -7,8 +7,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
require_once(dirname(__FILE__) . '/../../../includes/functions.php');
|
||||
|
||||
class phpbb_functions_simple_test extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
public function test_ap_validate()
|
||||
|
||||
Reference in New Issue
Block a user