mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-13 12:14:06 +02:00
Merge branch 'ticket/15392' into ticket/15392-master
This commit is contained in:
@@ -15,7 +15,7 @@ class phpbb_log_add_test extends phpbb_database_test_case
|
||||
{
|
||||
public function getDataSet()
|
||||
{
|
||||
return $this->createXMLDataSet(dirname(__FILE__) . '/fixtures/empty_log.xml');
|
||||
return $this->createXMLDataSet(__DIR__ . '/fixtures/empty_log.xml');
|
||||
}
|
||||
|
||||
public function test_log_enabled()
|
||||
|
@@ -17,7 +17,7 @@ class phpbb_log_delete_test extends phpbb_database_test_case
|
||||
|
||||
public function getDataSet()
|
||||
{
|
||||
return $this->createXMLDataSet(dirname(__FILE__) . '/fixtures/delete_log.xml');
|
||||
return $this->createXMLDataSet(__DIR__ . '/fixtures/delete_log.xml');
|
||||
}
|
||||
|
||||
protected function setUp(): void
|
||||
|
@@ -15,7 +15,7 @@ class phpbb_log_function_add_log_test extends phpbb_database_test_case
|
||||
{
|
||||
public function getDataSet()
|
||||
{
|
||||
return $this->createXMLDataSet(dirname(__FILE__) . '/fixtures/empty_log.xml');
|
||||
return $this->createXMLDataSet(__DIR__ . '/fixtures/empty_log.xml');
|
||||
}
|
||||
|
||||
public static function add_log_function_data()
|
||||
|
@@ -11,15 +11,15 @@
|
||||
*
|
||||
*/
|
||||
|
||||
require_once dirname(__FILE__) . '/../../phpBB/includes/functions_admin.php';
|
||||
require_once dirname(__FILE__) . '/../mock/user.php';
|
||||
require_once dirname(__FILE__) . '/../mock/cache.php';
|
||||
require_once __DIR__ . '/../../phpBB/includes/functions_admin.php';
|
||||
require_once __DIR__ . '/../mock/user.php';
|
||||
require_once __DIR__ . '/../mock/cache.php';
|
||||
|
||||
class phpbb_log_function_view_log_test extends phpbb_database_test_case
|
||||
{
|
||||
public function getDataSet()
|
||||
{
|
||||
return $this->createXMLDataSet(dirname(__FILE__) . '/fixtures/full_log.xml');
|
||||
return $this->createXMLDataSet(__DIR__ . '/fixtures/full_log.xml');
|
||||
}
|
||||
|
||||
public static function view_log_function_data()
|
||||
|
Reference in New Issue
Block a user