public function __construct() { $access = new Setup(); $this->database = $access->getDatabase(); $this->db_host = $access->getDatabaseHost(); $this->db_user = $access->getDatabaseUser(); $this->db_name = $access->getDatabaseName(); $this->db_password = $access->getDatabasePassword(); $this->driver = $this->driver(); }
public function test_getDatabaseHost_is_string() { $setup = new Setup(); $getDatabaseHost = $setup->getDatabaseHost(); $this->assertInternalType('string', $getDatabaseHost); }