diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2015-03-30 21:18:24 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2015-03-30 21:18:24 +0200 |
commit | 3b1f0e60194aea021433031bd62b3173b912d712 (patch) | |
tree | b77384e4f00096904774d182bbc82c01fd377c28 /tests/lib/share | |
parent | 0bf06d66913df92251ece31a14444e2975a0b5ca (diff) | |
download | nextcloud-server-3b1f0e60194aea021433031bd62b3173b912d712.tar.gz nextcloud-server-3b1f0e60194aea021433031bd62b3173b912d712.zip |
Fix unit test
Diffstat (limited to 'tests/lib/share')
-rw-r--r-- | tests/lib/share/share.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/lib/share/share.php b/tests/lib/share/share.php index cd79abd2056..523f7b379a0 100644 --- a/tests/lib/share/share.php +++ b/tests/lib/share/share.php @@ -1178,6 +1178,7 @@ class Test_Share extends \Test\TestCase { $qb->method('andWhere')->will($this->returnSelf()); $qb->method('select')->will($this->returnSelf()); $qb->method('from')->will($this->returnSelf()); + $qb->method('setParameter')->will($this->returnSelf()); $qb->method('expr')->willReturn($ex); $ret = $this->getMockBuilder('\Doctrine\DBAL\Driver\ResultStatement') @@ -1232,6 +1233,7 @@ class Test_Share extends \Test\TestCase { $qb->method('set')->will($this->returnSelf()); $qb->method('where')->will($this->returnSelf()); $qb->method('andWhere')->will($this->returnSelf()); + $qb->method('setParameter')->will($this->returnSelf()); $qb->method('expr')->willReturn($ex); $ret = $this->getMockBuilder('\Doctrine\DBAL\Driver\ResultStatement') @@ -1284,6 +1286,7 @@ class Test_Share extends \Test\TestCase { $qb->method('andWhere')->will($this->returnSelf()); $qb->method('select')->will($this->returnSelf()); $qb->method('from')->will($this->returnSelf()); + $qb->method('setParameter')->will($this->returnSelf()); $qb->method('expr')->willReturn($ex); $ret = $this->getMockBuilder('\Doctrine\DBAL\Driver\ResultStatement') @@ -1336,6 +1339,7 @@ class Test_Share extends \Test\TestCase { $qb->method('andWhere')->will($this->returnSelf()); $qb->method('select')->will($this->returnSelf()); $qb->method('from')->will($this->returnSelf()); + $qb->method('setParameter')->will($this->returnSelf()); $qb->method('expr')->willReturn($ex); $ret = $this->getMockBuilder('\Doctrine\DBAL\Driver\ResultStatement') |