MDL-62047 core_userkey: Define component path
authorAndrew Nicols <andrew@nicols.co.uk>
Thu, 19 Apr 2018 04:46:38 +0000 (12:46 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Thu, 19 Apr 2018 04:46:52 +0000 (12:46 +0800)
lib/classes/component.php
phpunit.xml.dist

index c21fce8..ab9656c 100644 (file)
@@ -483,7 +483,7 @@ $cache = '.var_export($cache, true).';
             'tag'         => $CFG->dirroot.'/tag',
             'timezones'   => null,
             'user'        => $CFG->dirroot.'/user',
-            'userkey'     => null,
+            'userkey'     => $CFG->dirroot.'/lib/userkey',
             'webservice'  => $CFG->dirroot.'/webservice',
         );
 
index 3ce5f96..dca05ac 100644 (file)
         <testsuite name="core_repository_testsuite">
             <directory suffix="_test.php">repository/tests</directory>
         </testsuite>
+        <testsuite name="core_userkey_testsuite">
+            <directory suffix="_test.php">lib/userkey/tests</directory>
+        </testsuite>
         <testsuite name="core_user_testsuite">
             <directory suffix="_test.php">user/tests</directory>
         </testsuite>