aboutsummaryrefslogtreecommitdiffstats
path: root/tests/log
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-04-19 01:49:35 +0200
committerJoas Schilling <nickvergessen@gmx.de>2013-04-19 01:49:35 +0200
commit1431a027563b717183937751970f52cc0a4c94fe (patch)
tree9bd54ff5eb6704a06b47e2160a993bf683040bf9 /tests/log
parent845832820ba89a0f33e264a34639a05045783397 (diff)
downloadforums-1431a027563b717183937751970f52cc0a4c94fe.tar
forums-1431a027563b717183937751970f52cc0a4c94fe.tar.gz
forums-1431a027563b717183937751970f52cc0a4c94fe.tar.bz2
forums-1431a027563b717183937751970f52cc0a4c94fe.tar.xz
forums-1431a027563b717183937751970f52cc0a4c94fe.zip
[ticket/11501] Remove test_ prefix from data provider methods
PHPBB3-11501
Diffstat (limited to 'tests/log')
-rw-r--r--tests/log/function_add_log_test.php4
-rw-r--r--tests/log/function_view_log_test.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/log/function_add_log_test.php b/tests/log/function_add_log_test.php
index 864b364862..7aa42be6df 100644
--- a/tests/log/function_add_log_test.php
+++ b/tests/log/function_add_log_test.php
@@ -16,7 +16,7 @@ class phpbb_log_function_add_log_test extends phpbb_database_test_case
return $this->createXMLDataSet(dirname(__FILE__) . '/fixtures/empty_log.xml');
}
- public static function test_add_log_function_data()
+ public static function add_log_function_data()
{
return array(
/**
@@ -138,7 +138,7 @@ class phpbb_log_function_add_log_test extends phpbb_database_test_case
}
/**
- * @dataProvider test_add_log_function_data
+ * @dataProvider add_log_function_data
*/
public function test_add_log_function($expected, $user_id, $mode, $required1, $additional1 = null, $additional2 = null, $additional3 = null)
{
diff --git a/tests/log/function_view_log_test.php b/tests/log/function_view_log_test.php
index 2ecf77aeb8..1ab9488568 100644
--- a/tests/log/function_view_log_test.php
+++ b/tests/log/function_view_log_test.php
@@ -22,7 +22,7 @@ class phpbb_log_function_view_log_test extends phpbb_database_test_case
return $this->createXMLDataSet(dirname(__FILE__) . '/fixtures/full_log.xml');
}
- public static function test_view_log_function_data()
+ public static function view_log_function_data()
{
global $phpEx, $phpbb_dispatcher;
$phpbb_dispatcher = new phpbb_mock_event_dispatcher();
@@ -296,7 +296,7 @@ class phpbb_log_function_view_log_test extends phpbb_database_test_case
}
/**
- * @dataProvider test_view_log_function_data
+ * @dataProvider view_log_function_data
*/
public function test_view_log_function($expected, $expected_returned, $mode, $log_count, $limit = 5, $offset = 0, $forum_id = 0, $topic_id = 0, $user_id = 0, $limit_days = 0, $sort_by = 'l.log_id ASC', $keywords = '')
{