diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-04-20 17:08:06 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-04-24 16:51:41 +0200 |
commit | a2c3b2534a3a187a7ccc3e4b86ba69735c4b8b1a (patch) | |
tree | 6d6ccfdd89eb31ccde28dc37680aa6c2212cb9a7 /tests/event/md_exporter_test.php | |
parent | 58892555299ad9df5bdd2c5401a854068860e68d (diff) | |
download | forums-a2c3b2534a3a187a7ccc3e4b86ba69735c4b8b1a.tar forums-a2c3b2534a3a187a7ccc3e4b86ba69735c4b8b1a.tar.gz forums-a2c3b2534a3a187a7ccc3e4b86ba69735c4b8b1a.tar.bz2 forums-a2c3b2534a3a187a7ccc3e4b86ba69735c4b8b1a.tar.xz forums-a2c3b2534a3a187a7ccc3e4b86ba69735c4b8b1a.zip |
[ticket/12273] Fix method name of test and fix undefined index
PHPBB3-12273
Diffstat (limited to 'tests/event/md_exporter_test.php')
-rw-r--r-- | tests/event/md_exporter_test.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/event/md_exporter_test.php b/tests/event/md_exporter_test.php index 5fb3a99254..b62b55accd 100644 --- a/tests/event/md_exporter_test.php +++ b/tests/event/md_exporter_test.php @@ -28,7 +28,7 @@ class phpbb_event_md_exporter_test extends phpbb_test_case $this->assertGreaterThan(0, $exporter->crawl_eventsmd('docs/events.md', $filter)); } - static public function crawl_adm_files_data() + static public function crawl_template_file_data() { global $phpbb_root_path; $exporter = new \phpbb\event\md_exporter($phpbb_root_path); @@ -52,9 +52,9 @@ class phpbb_event_md_exporter_test extends phpbb_test_case } /** - * @dataProvider crawl_adm_files_data + * @dataProvider crawl_template_file_data */ - public function test_crawl_adm_files($filter, $file) + public function test_crawl_template_file($filter, $file) { global $phpbb_root_path; $exporter = new \phpbb\event\md_exporter($phpbb_root_path); |