Commit 6b50e251 authored by Leo's avatar Leo

fixed the correct mock return values

parent 0e1aac7e
......@@ -17,10 +17,10 @@ class SchemaSqlCollectorTest extends \PHPUnit_Framework_TestCase
->will($this->returnValue(array("foo")));
$platformMock->expects($this->exactly(1))
->method('getCreateSequenceSql')
->will($this->returnValue(array("bar")));
->will($this->returnValue("bar"));
$platformMock->expects($this->exactly(1))
->method('getCreateForeignKeySql')
->will($this->returnValue(array("baz")));
->will($this->returnValue("baz"));
$schema = $this->createFixtureSchema();
......
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