Skip to content
Snippets Groups Projects
Commit 211d00a0 authored by Andreas Gohr's avatar Andreas Gohr
Browse files

fix unit test

The permissions are now checked also when trying to the title of the
plugin.
parent 64cdf779
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,9 @@ class template_pagetitle_test extends DokuWikiTest {
}
function test_adminPluginTitle() {
global $ID,$ACT,$INPUT,$conf;
global $ID,$ACT,$INPUT,$conf,$INFO;
$INFO['isadmin'] = true;
$INFO['ismanager'] = true;
if (!plugin_load('admin','revert')) {
$this->markTestSkipped('Revert plugin not found, unable to test admin plugin titles');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment