Code Duplication    Length = 7-9 lines in 2 locations

tests/Doctrine/Tests/DBAL/Platforms/AbstractMySQLPlatformTestCase.php 1 location

@@ 77-83 (lines=7) @@
74
    }
75
76
77
    public function testGeneratesDDLSnippets()
78
    {
79
        self::assertEquals('SHOW DATABASES', $this->_platform->getListDatabasesSQL());
80
        self::assertEquals('CREATE DATABASE foobar', $this->_platform->getCreateDatabaseSQL('foobar'));
81
        self::assertEquals('DROP DATABASE foobar', $this->_platform->getDropDatabaseSQL('foobar'));
82
        self::assertEquals('DROP TABLE foobar', $this->_platform->getDropTableSQL('foobar'));
83
    }
84
85
    public function testGeneratesTypeDeclarationForIntegers()
86
    {

tests/Doctrine/Tests/DBAL/Platforms/AbstractSQLServerPlatformTestCase.php 1 location

@@ 85-93 (lines=9) @@
82
        );
83
    }
84
85
    public function testGeneratesDDLSnippets()
86
    {
87
        $dropDatabaseExpectation = 'DROP DATABASE foobar';
88
89
        self::assertEquals('SELECT * FROM sys.databases', $this->_platform->getListDatabasesSQL());
90
        self::assertEquals('CREATE DATABASE foobar', $this->_platform->getCreateDatabaseSQL('foobar'));
91
        self::assertEquals($dropDatabaseExpectation, $this->_platform->getDropDatabaseSQL('foobar'));
92
        self::assertEquals('DROP TABLE foobar', $this->_platform->getDropTableSQL('foobar'));
93
    }
94
95
    public function testGeneratesTypeDeclarationForIntegers()
96
    {