mirror of
https://github.com/YunoHost-Apps/limesurvey_ynh.git
synced 2024-09-03 19:36:32 +02:00
20 lines
573 B
PHP
20 lines
573 B
PHP
<?php
|
|
define('BASEPATH', true);
|
|
// change the following paths if necessary
|
|
$yiit = __DIR__ . '/../../framework/yiit.php';
|
|
|
|
require_once($yiit);
|
|
require_once __DIR__ . '/../core/LSYii_Application.php';
|
|
$config = include(__DIR__ . '/../config/internal.php');
|
|
//require_once(dirname(__FILE__).'/WebTestCase.php');
|
|
unset ($config['defaultController']);
|
|
unset ($config['config']);
|
|
|
|
Yii::createConsoleApplication($config);
|
|
Yii::$enableIncludePath = false;
|
|
|
|
//Yii::createWebApplication('CApplication', $config);
|
|
|
|
abstract class CTestCase extends PHPUnit_Framework_TestCase
|
|
{
|
|
}
|