Skip to content

Commit

Permalink
Skip test instead of commenting it out (#10560)
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus authored Mar 5, 2023
1 parent e28dee0 commit a338855
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/Doctrine/Tests/ORM/Query/SelectSqlGenerationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -251,16 +251,16 @@ public function testSelectComplexMathematicalExpression(): void
);
}

/* NOT (YET?) SUPPORTED.
Can be supported if SimpleSelectExpression supports SingleValuedPathExpression instead of StateFieldPathExpression.
public function testSingleAssociationPathExpressionInSubselect()
public function testSingleAssociationPathExpressionInSubselect(): void
{
// Can be supported if SimpleSelectExpression supports SingleValuedPathExpression instead of StateFieldPathExpression.
self::markTestSkipped('Not yet supported.');

$this->assertSqlGeneration(
'SELECT (SELECT p.user FROM Doctrine\Tests\Models\CMS\CmsPhonenumber p WHERE p.user = u) user_id FROM Doctrine\Tests\Models\CMS\CmsUser u WHERE u.id = ?1',
'SELECT (SELECT c0_.user_id FROM cms_phonenumbers c0_ WHERE c0_.user_id = c1_.id) AS sclr_0 FROM cms_users c1_ WHERE c1_.id = ?'
);
}*/
}

/** @group DDC-1077 */
public function testConstantValueInSelect(): void
Expand Down

0 comments on commit a338855

Please sign in to comment.