Failed Conditions
Pull Request — master (#3063)
by Gabriel
20:36
created

PostgreSQL91PlatformTest::createPlatform()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 0
1
<?php
2
3
namespace Doctrine\Tests\DBAL\Platforms;
4
5
use Doctrine\DBAL\Platforms\PostgreSQL91Platform;
6
7
class PostgreSQL91PlatformTest extends PostgreSqlPlatformTest
8
{
9
    public function createPlatform()
10
    {
11
        return new PostgreSQL91Platform();
12
    }
13
14
    public function testColumnCollationDeclarationSQL()
15
    {
16
        self::assertEquals(
17
            'COLLATE "en_US.UTF-8"',
18
            $this->_platform->getColumnCollationDeclarationSQL('en_US.UTF-8')
19
        );
20
    }
21
}
22