Esempio n. 1
0
 /**
  *
  */
 public function testCreateTable()
 {
     $this->pdo->expects($this->once())->method('exec')->with($this->equalTo("CREATE TABLE IF NOT EXISTS `migrations` (\n  `id` INT(11) UNSIGNED NOT NULL AUTO_INCREMENT,\n  `name` VARCHAR(255) NOT NULL,\n  `migration` VARCHAR(255) NOT NULL,\n  `direction` TINYINT(1) UNSIGNED NOT NULL,\n  `migrated_on` DATETIME NOT NULL,\n  PRIMARY KEY (`id`))"));
     $this->adapter->setup();
 }