Skip to content

Commit 9385110

Browse files
committed
Remove wrong @throws DBALEception in tests.
1 parent e93dd6c commit 9385110

File tree

2 files changed

+0
-18
lines changed

2 files changed

+0
-18
lines changed

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -469,9 +469,6 @@ public function testModifyLimitQueryWithAggregateFunctionInOrderByClause(): void
469469
$this->expectCteWithMaxRowNum($alteredSql, 1, $sql);
470470
}
471471

472-
/**
473-
* @throws DBALException
474-
*/
475472
public function testModifyLimitSubqueryWithJoinAndSubqueryOrderedByColumnFromBaseTable(): void
476473
{
477474
$querySql = 'SELECT DISTINCT id_0, name_1 '
@@ -493,9 +490,6 @@ public function testModifyLimitSubqueryWithJoinAndSubqueryOrderedByColumnFromBas
493490
$this->expectCteWithMaxRowNum($alteredSql, 5, $sql);
494491
}
495492

496-
/**
497-
* @throws DBALException
498-
*/
499493
public function testModifyLimitSubqueryWithJoinAndSubqueryOrderedByColumnFromJoinTable(): void
500494
{
501495
$querySql = 'SELECT DISTINCT id_0, name_1 '
@@ -517,9 +511,6 @@ public function testModifyLimitSubqueryWithJoinAndSubqueryOrderedByColumnFromJoi
517511
$this->expectCteWithMaxRowNum($alteredSql, 5, $sql);
518512
}
519513

520-
/**
521-
* @throws DBALException
522-
*/
523514
public function testModifyLimitSubqueryWithJoinAndSubqueryOrderedByColumnsFromBothTables(): void
524515
{
525516
$querySql = 'SELECT DISTINCT id_0, name_1, foo_2 '

tests/Doctrine/Tests/DBAL/Platforms/SQLServer2012PlatformTest.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -370,9 +370,6 @@ public function testModifyLimitQueryWithComplexOrderByExpression(): void
370370
self::assertEquals($sql, $expected);
371371
}
372372

373-
/**
374-
* @throws DBALException
375-
*/
376373
public function testModifyLimitSubqueryWithJoinAndSubqueryOrderedByColumnFromBaseTable(): void
377374
{
378375
$querySql = 'SELECT DISTINCT id_0, name_1 '
@@ -393,9 +390,6 @@ public function testModifyLimitSubqueryWithJoinAndSubqueryOrderedByColumnFromBas
393390
self::assertEquals($alteredSql, $sql);
394391
}
395392

396-
/**
397-
* @throws DBALException
398-
*/
399393
public function testModifyLimitSubqueryWithJoinAndSubqueryOrderedByColumnFromJoinTable(): void
400394
{
401395
$querySql = 'SELECT DISTINCT id_0, name_1 '
@@ -416,9 +410,6 @@ public function testModifyLimitSubqueryWithJoinAndSubqueryOrderedByColumnFromJoi
416410
self::assertEquals($alteredSql, $sql);
417411
}
418412

419-
/**
420-
* @throws DBALException
421-
*/
422413
public function testModifyLimitSubqueryWithJoinAndSubqueryOrderedByColumnsFromBothTables(): void
423414
{
424415
$querySql = 'SELECT DISTINCT id_0, name_1, foo_2 '

0 commit comments

Comments
 (0)