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

Enabling plugin correctly.

Directory name must match the plugin.
parent 05ae235b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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:
+3 −1
Original line number Diff line number Diff line
@@ -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