lithium\tests\cases\data\source\DatabaseTest::testDefaultConfig PHP Метод

testDefaultConfig() публичный Метод

public testDefaultConfig ( )
    public function testDefaultConfig()
    {
        $expected = array('persistent' => true, 'host' => 'localhost', 'login' => 'root', 'password' => '', 'database' => null, 'encoding' => null, 'dsn' => null, 'options' => array(), 'autoConnect' => true, 'init' => true);
        $result = $this->_db->testConfig();
        $this->assertEqual($expected, $result);
    }
DatabaseTest