Commit fd50553d authored by flip111's avatar flip111

Updated CreateSchemaSqlCollectorTest.php

supportsSchemas() was already added (see last commit).
So changed expectation from 1 to any.
parent c12ec054
...@@ -10,10 +10,10 @@ class CreateSchemaSqlCollectorTest extends \PHPUnit_Framework_TestCase ...@@ -10,10 +10,10 @@ class CreateSchemaSqlCollectorTest extends \PHPUnit_Framework_TestCase
{ {
$platformMock = $this->getMock( $platformMock = $this->getMock(
'Doctrine\DBAL\Platforms\PostgreSqlPlatform', 'Doctrine\DBAL\Platforms\PostgreSqlPlatform',
array('supportsSchemas', 'schemaNeedsCreation', 'getCreateTableSQL', 'supportsSchemas') array('supportsSchemas', 'schemaNeedsCreation', 'getCreateTableSQL')
); );
$platformMock->expects($this->exactly(1)) $platformMock->expects($this->any())
->method('supportsSchemas') ->method('supportsSchemas')
->will($this->returnValue(true)); ->will($this->returnValue(true));
......
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