]> git.mxchange.org Git - core.git/blobdiff - application/tests/init.php
Moving-session has started:
[core.git] / application / tests / init.php
index d11063e97edda3305473a43f3a7c50fc5055fcc3..77c9fb873fc03fd4784710bf64edd5c386304118 100644 (file)
@@ -38,3 +38,12 @@ ApplicationHelper::createDebugInstance('ApplicationHelper');
 // This application needs a database connection then we have to simply include
 // the framework/database.php script
 require($cfg->getConfigEntry('base_path') . 'framework/database.php');
+
+// Register core tests
+ClassLoader::registerTestsPath('framework/main/tests');
+
+// Register own tests
+ClassLoader::registerTestsPath('application/tests/tests');
+
+// Scan for them now
+ClassLoader::scanTestsClasses();