Passed
Pull Request — master (#2893)
by Šimon
14:29 queued 16s
created

testGetSequenceMetadataSQL()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 3
rs 10
cc 1
eloc 1
nc 1
nop 0
1
<?php
2
3
namespace Doctrine\Tests\DBAL\Platforms;
4
5
use Doctrine\DBAL\Platforms\PostgreSQL100Platform;
6
7
class PostgreSQL100PlatformTest extends PostgreSQL94PlatformTest
8
{
9
    /**
10
     * {@inheritdoc}
11
     */
12
    public function createPlatform() : PostgreSQL100Platform
13
    {
14
        return new PostgreSQL100Platform();
15
    }
16
17
    public function testGetSequenceMetadataSQL() : void
18
    {
19
        $this->assertSame("SELECT min_value, increment_by FROM pg_sequences WHERE schemaname = 'aSchemaName' AND sequencename = 'aSequenceName'", $this->_platform->getSequenceMetadataSQL('aSequenceName', 'aSchemaName'));
20
    }
21
}
22