ActiveRecordMySql5Test::setup PHP Метод

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

public setup ( )
    function setup()
    {
        $conn = new TDbConnection('mysql:host=localhost;dbname=prado_unitest', 'prado_unitest', 'prado_unitest');
        TActiveRecordManager::getInstance()->setDbConnection($conn);
    }