Revize c478920d
Přidáno uživatelem Ondřej Fibich před asi 9 roky(ů)
tests/BootstrapPHPUnit.php | ||
---|---|---|
<?php defined('SYSPATH') or die('No direct script access.');
|
||
/**
|
||
* Kohana process control file, loaded by the front controller.
|
||
*
|
||
*
|
||
* $Id: Bootstrap.php 1968 2008-02-06 21:41:29Z Shadowhand $
|
||
*
|
||
* @package Core
|
||
... | ... | |
// Load core files
|
||
require SYSPATH.'core/utf8'.EXT;
|
||
require SYSPATH.'core/Config'.EXT;
|
||
|
||
require __DIR__.'/TestConfig'.EXT;
|
||
TestConfig::init(); // set DB configuration
|
||
|
||
require SYSPATH.'core/Log'.EXT;
|
||
require SYSPATH.'core/Event'.EXT;
|
||
require SYSPATH.'core/Kohana'.EXT;
|
||
|
||
// test classes
|
||
require __DIR__.'/AbstractItCase'.EXT;
|
||
|
||
// End: kohana_loading
|
||
Benchmark::stop(SYSTEM_BENCHMARK.'_kohana_loading');
|
||
|
||
... | ... | |
//Benchmark::stop(SYSTEM_BENCHMARK.'_system_initialization');
|
||
|
||
//Event::run('system.execute');
|
||
Event::run('system.shutdown');
|
||
Event::run('system.shutdown');
|
Také k dispozici: Unified diff
Undo my stupid mistake (I have pushed issue-957 to master instead of develop). Do I have copied files from GitHub master and push them back..