|
|
- --TEST--
- SaltFish\Config test
- @version 160103:1
- --FILE--
- <?php
-
- require(dirname(__FILE__).'/../../src/protected/lib/base/AutoRequire.php');
- require(dirname(__FILE__).'/../../src/protected/lib/base/Config.php');
-
- $main = array(
- 'database' => 1,
- );
-
- SaltFish\Config::importMainConfig($main);
-
- $db = SaltFish\Config::get('database');
-
- var_dump($db);
- ?>
- --EXPECT--
- int(1)
|