Commit a9e08c8c authored by Steve Müller's avatar Steve Müller

fix schema diff expectation as we now pass table object instead of name

parent acad5d6e
......@@ -77,7 +77,10 @@ class SchemaDiffTest extends \PHPUnit_Framework_TestCase
if ($unsafe) {
$platform->expects($this->exactly(1))
->method('getDropForeignKeySql')
->with($this->isInstanceof('Doctrine\DBAL\Schema\ForeignKeyConstraint'), $this->equalTo('local_table'))
->with(
$this->isInstanceof('Doctrine\DBAL\Schema\ForeignKeyConstraint'),
$this->isInstanceOf('Doctrine\DBAL\Schema\Table')
)
->will($this->returnValue('drop_orphan_fk'));
}
$platform->expects($this->exactly(1))
......
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