Commit c42995f1 authored by Benjamin Eberlei's avatar Benjamin Eberlei

[DBAL-219] Test for change

parent 45532e50
......@@ -208,4 +208,17 @@ class SchemaTest extends \PHPUnit_Framework_TestCase
$fk = current($fk);
$this->assertSame($schemaNew->getTable('bar'), $this->readAttribute($fk, '_localTable'));
}
/**
* @group DBAL-219
*/
public function testHasTableForQuotedAsset()
{
$schema = new Schema();
$tableA = $schema->createTable('foo');
$tableA->addColumn('id', 'integer');
$this->assertTrue($schema->hasTable('`foo`'));
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment