SQLServer2008PlatformTest.php 451 Bytes
Newer Older
1 2 3 4 5 6
<?php

namespace Doctrine\Tests\DBAL\Platforms;

use Doctrine\DBAL\Platforms\SQLServer2008Platform;

7
class SQLServer2008PlatformTest extends AbstractSQLServerPlatformTestCase
8 9 10 11 12 13 14 15
{
    public function createPlatform()
    {
        return new SQLServer2008Platform;
    }

    public function testGeneratesTypeDeclarationForDateTimeTz()
    {
16
        self::assertEquals('DATETIMEOFFSET(6)', $this->_platform->getDateTimeTzTypeDeclarationSQL([]));
17
    }
18
}