aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-04-18 11:13:02 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-04-18 12:57:13 +0200
commit3352d9fd344c14172bd690f20ee50a912032db7f (patch)
treed838857d921af1863719e703b19abccc497c0fc5 /tests
parentd213e09a40cb0ee9c94c35b3aecb1814d740184a (diff)
downloadforums-3352d9fd344c14172bd690f20ee50a912032db7f.tar
forums-3352d9fd344c14172bd690f20ee50a912032db7f.tar.gz
forums-3352d9fd344c14172bd690f20ee50a912032db7f.tar.bz2
forums-3352d9fd344c14172bd690f20ee50a912032db7f.tar.xz
forums-3352d9fd344c14172bd690f20ee50a912032db7f.zip
[ticket/12273] Move event exporter to namespace
PHPBB3-12273
Diffstat (limited to 'tests')
-rw-r--r--tests/event/exporter_test.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/event/exporter_test.php b/tests/event/exporter_test.php
index 5736476f45..1608964b42 100644
--- a/tests/event/exporter_test.php
+++ b/tests/event/exporter_test.php
@@ -7,8 +7,6 @@
*
*/
-require_once dirname(__FILE__) . '/../../phpBB/develop/event_exporter.php';
-
class phpbb_event_exporter_test extends phpbb_test_case
{
/** @var \event_exporter */
@@ -17,7 +15,7 @@ class phpbb_event_exporter_test extends phpbb_test_case
public function setUp()
{
parent::setUp();
- $this->exporter = new \event_exporter(dirname(__FILE__) . '/fixtures/');
+ $this->exporter = new \phpbb\event\exporter(dirname(__FILE__) . '/fixtures/');
}
static public function crawl_php_file_data()
@@ -669,7 +667,7 @@ class phpbb_event_exporter_test extends phpbb_test_case
public function test_crawl_phpbb_directory_php()
{
global $phpbb_root_path;
- $exporter = new \event_exporter($phpbb_root_path);
+ $exporter = new \phpbb\event\exporter($phpbb_root_path);
$this->assertGreaterThan(0, $exporter->crawl_phpbb_directory_php());
}
}