1
0
mirror of synced 2025-02-02 13:31:45 +03:00

Adds sql generation test

This commit is contained in:
Carnage 2018-02-09 09:48:44 +00:00 committed by Luís Cobucci
parent 44e82e2720
commit ae6d80daab
No known key found for this signature in database
GPG Key ID: EC61C5F01750ED3C

View File

@ -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()
{
$this->assertSqlGeneration(