Completed
Pull Request — master (#3666)
by
unknown
62:28
created

Oracle122PlatformTest::createPlatform()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 1 Features 1
Metric Value
eloc 1
c 2
b 1
f 1
dl 0
loc 3
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Doctrine\Tests\DBAL\Platforms;
4
5
use Doctrine\DBAL\Platforms\AbstractPlatform;
6
use Doctrine\DBAL\Platforms\Oracle122Platform;
7
8
class Oracle122PlatformTest extends OraclePlatformTest
9
{
10
    public function createPlatform() : AbstractPlatform
11
    {
12
        return new Oracle122Platform();
13
    }
14
15
    public function testMaxIdentifierLength() : void
16
    {
17
        self::assertSame(128, $this->platform->getMaxIdentifierLength());
18
    }
19
20
    public function testFixSchemaElementName() : void
21
    {
22
        $tableName = 'ThisIsAStringTestLongerThan32Chars';
23
        self::assertSame($tableName, $this->platform->fixSchemaElementName($tableName));
24
    }
25
}
26