<?php
namespace Doctrine\Tests\DBAL\Platforms;
use Doctrine\DBAL\Platforms\MySqlPlatform;
use Doctrine\DBAL\TransactionIsolationLevel;
class MySqlPlatformTest extends AbstractMySQLPlatformTestCase
{
public function createPlatform()
{
return new MySqlPlatform();
}
public function testHasCorrectDefaultTransactionIsolationLevel()
{
self::assertEquals(
TransactionIsolationLevel::REPEATABLE_READ,
$this->platform->getDefaultTransactionIsolationLevel()
);
}
}
-
Sergei Morozov authored