Skip to content

Commit

Permalink
Require doctrine/dbal ^2.5
Browse files Browse the repository at this point in the history
Fixes ramsey#7
  • Loading branch information
ramsey committed Jan 3, 2016
1 parent 4042275 commit 4834bf3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"require": {
"php": ">=5.4",
"ramsey/uuid": "^3.0",
"doctrine/dbal": "^2.3"
"doctrine/dbal": "^2.5"
},
"require-dev": {
"phpunit/phpunit": "^4.7|^5.0",
Expand Down
4 changes: 2 additions & 2 deletions tests/UuidBinaryTypeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ protected function setUp()
{
$this->platform = $this->getPlatformMock();
$this->platform->expects($this->any())
->method('getBinaryTypeDeclarationSQL')
->method('getBinaryTypeDeclarationSQLSnippet')
->will($this->returnValue('DUMMYBINARY(16)'));

$this->type = Type::getType('uuid_binary');
Expand Down Expand Up @@ -136,7 +136,7 @@ public function testRequiresSQLCommentHint()
private function getPlatformMock()
{
return $this->getMockBuilder('Doctrine\DBAL\Platforms\AbstractPlatform')
->setMethods(array('getBinaryTypeDeclarationSQL'))
->setMethods(array('getBinaryTypeDeclarationSQLSnippet'))
->getMockForAbstractClass();
}
}

0 comments on commit 4834bf3

Please sign in to comment.