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

PostgreSQL91PlatformTest   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
dl 0
loc 12
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A createPlatform() 0 3 1
A testColumnCollationDeclarationSQL() 0 5 1
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