Commit 88e5deac authored by Pietro Saccardi's avatar Pietro Saccardi

Enabling plugin correctly.

Directory name must match the plugin.
parent 05ae235b
......@@ -9,7 +9,7 @@ before_script:
- mv phpunit.phar /usr/local/bin/phpunit
- git clone git://github.com/splitbrain/dokuwiki.git
- pushd dokuwiki/lib/plugins
- ln -s $CI_PROJECT_DIR $CI_PROJECT_NAME
- ln -s $CI_PROJECT_DIR ifauthex
- popd
test:
......
......@@ -10,6 +10,9 @@ require_once(__DIR__ . '/../syntax/exceptions.php');
*/
class general_plugin_ifauthex_test extends DokuWikiTest
{
protected $pluginsEnabled = array('ifauthex');
const VALID_EXPRESSIONS = array(
'user',
'!user',
......@@ -104,7 +107,6 @@ class general_plugin_ifauthex_test extends DokuWikiTest
'@@group', // @ takes "@", but when ! is parsed, no arg is left
);
const MALFORMED_EXPRESSIONS = array(
'usr usr2', // More than one element in root
'()', // Subexpression must have one root
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment