Adds sql generation test
This commit is contained in:
parent
44e82e2720
commit
ae6d80daab
@ -36,6 +36,14 @@ class DeleteSqlGenerationTest extends OrmTestCase
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function testSupportsDeleteWithoutWhereAndAlias() : void
|
||||||
|
{
|
||||||
|
$this->assertSqlGeneration(
|
||||||
|
'DELETE FROM Doctrine\Tests\Models\CMS\CmsUser',
|
||||||
|
'DELETE FROM cms_users'
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
public function testSupportsDeleteWithoutWhereAndFrom()
|
public function testSupportsDeleteWithoutWhereAndFrom()
|
||||||
{
|
{
|
||||||
$this->assertSqlGeneration(
|
$this->assertSqlGeneration(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user