Beispiel #1
0
 function it_return_query(Column $column, Table $table)
 {
     $table->getName()->willReturn('dbdiff');
     $column->getQueryString()->willReturn('id int(10) unsigned NOT NULL PRIMARY KEY auto_increment');
     $this::query($column, $table)->shouldBe('ALTER TABLE dbdiff MODIFY id int(10) unsigned NOT NULL PRIMARY KEY auto_increment');
 }