class DDC3460Test extends \Doctrine\Tests\OrmFunctionalTestCase
8
{
9
/**
10
* @group DDC-3460
11
*/
12
public function testDetectMyISAM()
13
{
14
$conn = $this->_em->getConnection();
15
16
if (strpos($conn->getDriver()->getName(), "mysql") === false) {
17
$this->markTestSkipped('this test is only relevant for MySQL');
18
}
19
20
$conn->exec('CREATE TABLE `tweet_user` (id INT NOT NULL AUTO_INCREMENT, name VARCHAR(255) NOT NULL, PRIMARY KEY(id)) ENGINE = MyISAM');
21
$conn->exec('CREATE TABLE `tweet_tweet` (id INT NOT NULL AUTO_INCREMENT, content VARCHAR(255) NOT NULL, author_id INT, PRIMARY KEY(id)) ENGINE = MyISAM');