summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--_test/cases/inc/common_pagetemplate.test.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/_test/cases/inc/common_pagetemplate.test.php b/_test/cases/inc/common_pagetemplate.test.php
index 2db8b64ae..cc89f6906 100644
--- a/_test/cases/inc/common_pagetemplate.test.php
+++ b/_test/cases/inc/common_pagetemplate.test.php
@@ -1,5 +1,6 @@
<?php
+require_once DOKU_INC.'inc/init.php';
require_once DOKU_INC.'inc/common.php';
class common_pagetemplate_test extends UnitTestCase {
@@ -11,9 +12,7 @@ class common_pagetemplate_test extends UnitTestCase {
'id' => 'page-id-long',
'tpl' => '"@PAGE@" "@!PAGE@" "@!!PAGE@" "@!PAGE!@"',
);
- $old = error_reporting(E_ALL & ~E_NOTICE);
$this->assertEqual(parsePageTemplate($data), '"page id long" "Page id long" "Page Id Long" "PAGE ID LONG"');
- error_reporting($old);
}
}
//Setup VIM: ex: et ts=4 :