protected function setUp() { parent::setUp(); $groups = new USVN_Db_Table_Groups(); $groups->insert(array("groups_id" => 42, "groups_name" => "Telephone", "groups_description" => "test")); $groups->insert(array("groups_id" => 43, "groups_name" => "Indochine", "groups_description" => "Bob morane")); }
protected function setUp() { parent::setUp(); $users = new USVN_Db_Table_Users(); $users->insert(array("users_id" => 42, "users_login" => "Telephone", "users_password" => "secret")); $users->insert(array("users_id" => 43, "users_login" => "Indochine", "users_password" => "secret")); $groups = new USVN_Db_Table_Groups(); $groups->insert(array("groups_id" => 42, "groups_name" => "Telephone", "groups_description" => "test")); }
protected function setUp() { parent::setUp(); $projects = new USVN_Db_Table_Projects(); $projects->insert(array("projects_id" => 42, "projects_name" => "Telephone", 'projects_start_date' => '1984-12-03 00:00:00', "projects_description" => "test")); $projects->insert(array("projects_id" => 43, "projects_name" => "Indochine", 'projects_start_date' => '1984-12-03 00:00:00', "projects_description" => "Bob morane")); $groups = new USVN_Db_Table_Groups(); $groups->insert(array("groups_id" => 42, "groups_name" => "Telephone", "groups_description" => "test")); $groups->insert(array("groups_id" => 43, "groups_name" => "Indochine", "groups_description" => "Bob morane")); }
protected function setUp() { parent::setUp(); $config = Zend_Registry::get('config'); $config->database = array("adapterName" => "mysql"); }