@@ -627,7 +627,7 @@ public function testResetQueryParts(): void
627
627
{
628
628
$ qb = $ this ->prepareQueryBuilderToReset ();
629
629
630
- $ this ->expectDeprecationWithIdentifier ('TODO ' );
630
+ $ this ->expectDeprecationWithIdentifier ('https://github.com/doctrine/dbal/pull/6193 ' );
631
631
$ qb ->resetQueryParts (['distinct ' , 'where ' , 'orderBy ' ]);
632
632
633
633
self ::assertEquals ('SELECT u.* FROM users u ' , (string ) $ qb );
@@ -637,7 +637,7 @@ public function testLegacyResetSelect(): void
637
637
{
638
638
$ qb = $ this ->prepareQueryBuilderToReset ();
639
639
640
- $ this ->expectDeprecationWithIdentifier ('TODO ' );
640
+ $ this ->expectDeprecationWithIdentifier ('https://github.com/doctrine/dbal/pull/6193 ' );
641
641
$ qb ->resetQueryPart ('select ' )->addSelect ('u.name ' );
642
642
643
643
self ::assertEquals ('SELECT DISTINCT u.name FROM users u WHERE u.name = ? ORDER BY u.name ASC ' , (string ) $ qb );
@@ -647,7 +647,7 @@ public function testLegacyResetDistinct(): void
647
647
{
648
648
$ qb = $ this ->prepareQueryBuilderToReset ();
649
649
650
- $ this ->expectDeprecationWithIdentifier ('TODO ' );
650
+ $ this ->expectDeprecationWithIdentifier ('https://github.com/doctrine/dbal/pull/6193 ' );
651
651
$ qb ->resetQueryPart ('distinct ' );
652
652
653
653
self ::assertEquals ('SELECT u.* FROM users u WHERE u.name = ? ORDER BY u.name ASC ' , (string ) $ qb );
@@ -657,7 +657,7 @@ public function testResetDistinct(): void
657
657
{
658
658
$ qb = $ this ->prepareQueryBuilderToReset ();
659
659
660
- $ this ->expectNoDeprecationWithIdentifier ('TODO ' );
660
+ $ this ->expectNoDeprecationWithIdentifier ('https://github.com/doctrine/dbal/pull/6193 ' );
661
661
$ qb ->distinct (false );
662
662
663
663
self ::assertEquals ('SELECT u.* FROM users u WHERE u.name = ? ORDER BY u.name ASC ' , (string ) $ qb );
@@ -667,7 +667,7 @@ public function testLegacyResetWhere(): void
667
667
{
668
668
$ qb = $ this ->prepareQueryBuilderToReset ();
669
669
670
- $ this ->expectDeprecationWithIdentifier ('TODO ' );
670
+ $ this ->expectDeprecationWithIdentifier ('https://github.com/doctrine/dbal/pull/6193 ' );
671
671
$ qb ->resetQueryPart ('where ' );
672
672
673
673
self ::assertEquals ('SELECT DISTINCT u.* FROM users u ORDER BY u.name ASC ' , (string ) $ qb );
@@ -677,7 +677,7 @@ public function testResetWhere(): void
677
677
{
678
678
$ qb = $ this ->prepareQueryBuilderToReset ();
679
679
680
- $ this ->expectNoDeprecationWithIdentifier ('TODO ' );
680
+ $ this ->expectNoDeprecationWithIdentifier ('https://github.com/doctrine/dbal/pull/6193 ' );
681
681
$ qb ->resetWhere ();
682
682
683
683
self ::assertEquals ('SELECT DISTINCT u.* FROM users u ORDER BY u.name ASC ' , (string ) $ qb );
@@ -687,7 +687,7 @@ public function testLegacyResetOrderBy(): void
687
687
{
688
688
$ qb = $ this ->prepareQueryBuilderToReset ();
689
689
690
- $ this ->expectDeprecationWithIdentifier ('TODO ' );
690
+ $ this ->expectDeprecationWithIdentifier ('https://github.com/doctrine/dbal/pull/6193 ' );
691
691
$ qb ->resetQueryPart ('orderBy ' );
692
692
693
693
self ::assertEquals ('SELECT DISTINCT u.* FROM users u WHERE u.name = ? ' , (string ) $ qb );
@@ -697,7 +697,7 @@ public function testResetOrderBy(): void
697
697
{
698
698
$ qb = $ this ->prepareQueryBuilderToReset ();
699
699
700
- $ this ->expectNoDeprecationWithIdentifier ('TODO ' );
700
+ $ this ->expectNoDeprecationWithIdentifier ('https://github.com/doctrine/dbal/pull/6193 ' );
701
701
$ qb ->resetOrderBy ();
702
702
703
703
self ::assertEquals ('SELECT DISTINCT u.* FROM users u WHERE u.name = ? ' , (string ) $ qb );
@@ -724,7 +724,7 @@ public function testLegacyResetHaving(): void
724
724
{
725
725
$ qb = $ this ->prepareGroupedQueryBuilderToReset ();
726
726
727
- $ this ->expectDeprecationWithIdentifier ('TODO ' );
727
+ $ this ->expectDeprecationWithIdentifier ('https://github.com/doctrine/dbal/pull/6193 ' );
728
728
$ qb ->resetQueryPart ('having ' );
729
729
730
730
self ::assertEquals (
@@ -737,7 +737,7 @@ public function testResetHaving(): void
737
737
{
738
738
$ qb = $ this ->prepareGroupedQueryBuilderToReset ();
739
739
740
- $ this ->expectNoDeprecationWithIdentifier ('TODO ' );
740
+ $ this ->expectNoDeprecationWithIdentifier ('https://github.com/doctrine/dbal/pull/6193 ' );
741
741
$ qb ->resetHaving ();
742
742
743
743
self ::assertEquals (
@@ -750,7 +750,7 @@ public function testLegacyResetGroupBy(): void
750
750
{
751
751
$ qb = $ this ->prepareGroupedQueryBuilderToReset ();
752
752
753
- $ this ->expectDeprecationWithIdentifier ('TODO ' );
753
+ $ this ->expectDeprecationWithIdentifier ('https://github.com/doctrine/dbal/pull/6193 ' );
754
754
$ qb ->resetQueryPart ('groupBy ' );
755
755
756
756
self ::assertEquals (
@@ -759,11 +759,11 @@ public function testLegacyResetGroupBy(): void
759
759
);
760
760
}
761
761
762
- public function testGroupBy (): void
762
+ public function testResetGroupBy (): void
763
763
{
764
764
$ qb = $ this ->prepareGroupedQueryBuilderToReset ();
765
765
766
- $ this ->expectNoDeprecationWithIdentifier ('TODO ' );
766
+ $ this ->expectNoDeprecationWithIdentifier ('https://github.com/doctrine/dbal/pull/6193 ' );
767
767
$ qb ->resetGroupBy ();
768
768
769
769
self ::assertEquals (
0 commit comments