Code Duplication    Length = 7-7 lines in 2 locations

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

@@ 212-218 (lines=7) @@
209
    /**
210
     * @dataProvider getLockHints
211
     */
212
    public function testAppendsLockHint($lockMode, $lockHint)
213
    {
214
        $fromClause = 'FROM users';
215
        $expectedResult = $fromClause . $lockHint;
216
217
        self::assertSame($expectedResult, $this->_platform->appendLockHint($fromClause, $lockMode));
218
    }
219
220
    public function getLockHints()
221
    {

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

@@ 21-27 (lines=7) @@
18
     * @group DDC-2310
19
     * @dataProvider getLockHints
20
     */
21
    public function testAppendsLockHint($lockMode, $lockHint)
22
    {
23
        $fromClause     = 'FROM users';
24
        $expectedResult = $fromClause . $lockHint;
25
26
        self::assertSame($expectedResult, $this->_platform->appendLockHint($fromClause, $lockMode));
27
    }
28
29
    /**
30
     * @group DBAL-2408