SQLServer2008PlatformTest.php 508 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 16 17 18 19 20 21 22
{
    public function createPlatform()
    {
        return new SQLServer2008Platform;
    }

    public function testGeneratesTypeDeclarationForDateTimeTz()
    {
        $this->assertEquals(
            'DATETIMEOFFSET(6)',
            $this->_platform->getDateTimeTzTypeDeclarationSQL(
                array())
        );
    }
}