public function testCreateTableWithLatin1Collate() { $table = new \Phinx\Db\Table('latin1_table', array('collation' => 'latin1_general_ci'), $this->adapter); $table->addColumn('name', 'string')->save(); $this->assertTrue($this->adapter->hasTable('latin1_table')); $row = $this->adapter->fetchRow(sprintf('SHOW TABLE STATUS WHERE Name = "%s"', 'latin1_table')); $this->assertEquals('latin1_general_ci', $row['Collation']); }