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_getDatabaseName_is_string() { $setup = new Setup(); $getDatabaseName = $setup->getDatabaseName(); $this->assertInternalType('string', $getDatabaseName); }