예제 #1
0
 public function test_getConnectSettings()
 {
     list($dsn, $username, $password, $driver_options) = SimpleDBI::getConnectSettings();
     $this->assertEquals(DB_DSN, $dsn);
     $this->assertEquals(DB_USERNAME, $username);
     $this->assertEquals(DB_PASSWORD, $password);
     $this->assertEquals(array(), $driver_options);
 }