Beispiel #1
0
 /**
  */
 public function testDropDatabase()
 {
     $dsn = array('host' => 'localhost', 'port' => 3306, 'database' => 'phigrate_test', 'user' => USER_MYSQL_DEFAULT, 'password' => PASSWORD_MYSQL_DEFAULT);
     $object = new Phigrate_Adapter_Mysql_Adapter($dsn, self::$_logger);
     $db = "users";
     $this->assertTrue($object->dropDatabase($db));
     $this->assertFalse($object->databaseExists($db));
     $this->assertFalse($object->dropDatabase($db));
 }