summaryrefslogtreecommitdiffstats
path: root/Acl/Tests/Dbal/MutableAclProviderTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'Acl/Tests/Dbal/MutableAclProviderTest.php')
-rw-r--r--Acl/Tests/Dbal/MutableAclProviderTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Acl/Tests/Dbal/MutableAclProviderTest.php b/Acl/Tests/Dbal/MutableAclProviderTest.php
index c2169e4..6df2d79 100644
--- a/Acl/Tests/Dbal/MutableAclProviderTest.php
+++ b/Acl/Tests/Dbal/MutableAclProviderTest.php
@@ -255,7 +255,7 @@ class MutableAclProviderTest extends \PHPUnit_Framework_TestCase
public function testUpdateDoesNothingWhenThereAreNoChanges()
{
- $con = $this->getMock('Doctrine\DBAL\Connection', array(), array(), '', false);
+ $con = $this->getMockBuilder('Doctrine\DBAL\Connection')->disableOriginalConstructor()->getMock();
$con
->expects($this->never())
->method('beginTransaction')