コード例 #1
0
 function __construct()
 {
     $this->dsn = 'db://dsn?table=lmb_cache2';
     $this->fixture_path = dirname(__FILE__) . '/../../../init/cache.';
     lmb_tests_init_db_dsn();
     lmb_tests_setup_db($this->fixture_path);
     parent::__construct();
 }
コード例 #2
0
ファイル: .setup.php プロジェクト: snowjobgit/limb
<?php

require_once dirname(__FILE__) . '/../../common.inc.php';
require_once 'limb/core/tests/cases/init.inc.php';
lmb_tests_init_var_dir(dirname(__FILE__) . '/../../../var/cms');
require_once 'limb/dbal/tests/cases/init.inc.php';
lmb_tests_init_db_dsn();
lmb_tests_setup_db(dirname(__FILE__) . '/../../init/db.');
lmb_tests_setup_db(dirname(__FILE__) . '/fixture/init_tests.');
lmb_require('limb/cms/tests/cases/lmbCmsTestCase.class.php');