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