MySqlPlatformTest.php 532 Bytes
Newer Older
1 2 3 4 5
<?php

namespace Doctrine\Tests\DBAL\Platforms;

use Doctrine\DBAL\Platforms\MySqlPlatform;
6
use Doctrine\DBAL\TransactionIsolationLevel;
7

8
class MySqlPlatformTest extends AbstractMySQLPlatformTestCase
9
{
10
    public function createPlatform()
11
    {
12
        return new MysqlPlatform;
13
    }
14 15 16

    public function testHasCorrectDefaultTransactionIsolationLevel()
    {
17
        self::assertEquals(
18
            TransactionIsolationLevel::REPEATABLE_READ,
19 20 21
            $this->_platform->getDefaultTransactionIsolationLevel()
        );
    }
22
}