/** * Set the environment ActiveRecord expects */ protected function setUp() { // Force constructor to get a connection Trax::$active_record_connections = array(); // Set up information that normally comes from database.ini Trax::$database_settings[TRAX_ENV] = array('phptype' => 'mysql', 'database' => 'database_development', 'hostspec' => 'localhost', 'username' => 'root', 'password' => '', 'persistent' => true); }