summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2016-02-05 15:32:34 +0100
committerJoas Schilling <nickvergessen@owncloud.com>2016-02-05 21:26:30 +0100
commit065141f6f4212dbbca4633b0138f6e5ac3ec4f7a (patch)
tree6b944b545070c272bdde6bbfbf8218fdfe4e4008 /tests
parent550f3af2858d41eed3b698e4145dfb690dfbae5d (diff)
downloadnextcloud-server-065141f6f4212dbbca4633b0138f6e5ac3ec4f7a.tar.gz
nextcloud-server-065141f6f4212dbbca4633b0138f6e5ac3ec4f7a.zip
Move casting to IExpressionBuilder
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/db/querybuilder/expressionbuildertest.php2
-rw-r--r--tests/lib/share/share.php8
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/lib/db/querybuilder/expressionbuildertest.php b/tests/lib/db/querybuilder/expressionbuildertest.php
index 8310c4adf68..f38faab9169 100644
--- a/tests/lib/db/querybuilder/expressionbuildertest.php
+++ b/tests/lib/db/querybuilder/expressionbuildertest.php
@@ -22,7 +22,7 @@
namespace Test\DB\QueryBuilder;
use Doctrine\DBAL\Query\Expression\ExpressionBuilder as DoctrineExpressionBuilder;
-use OC\DB\QueryBuilder\ExpressionBuilder;
+use OC\DB\QueryBuilder\ExpressionBuilder\ExpressionBuilder;
use OCP\DB\QueryBuilder\IQueryBuilder;
use Test\TestCase;
diff --git a/tests/lib/share/share.php b/tests/lib/share/share.php
index 5162a03f367..4519c33f9d1 100644
--- a/tests/lib/share/share.php
+++ b/tests/lib/share/share.php
@@ -1423,7 +1423,7 @@ class Test_Share extends \Test\TestCase {
$userSession->method('getUser')->willReturn($user);
- $ex = $this->getMockBuilder('\OC\DB\QueryBuilder\ExpressionBuilder')
+ $ex = $this->getMockBuilder('\OC\DB\QueryBuilder\ExpressionBuilder\ExpressionBuilder')
->disableOriginalConstructor()
->getMock();
$qb = $this->getMockBuilder('\OC\DB\QueryBuilder\QueryBuilder')
@@ -1478,7 +1478,7 @@ class Test_Share extends \Test\TestCase {
$userSession->method('getUser')->willReturn($user);
- $ex = $this->getMockBuilder('\OC\DB\QueryBuilder\ExpressionBuilder')
+ $ex = $this->getMockBuilder('\OC\DB\QueryBuilder\ExpressionBuilder\ExpressionBuilder')
->disableOriginalConstructor()
->getMock();
$qb = $this->getMockBuilder('\OC\DB\QueryBuilder\QueryBuilder')
@@ -1531,7 +1531,7 @@ class Test_Share extends \Test\TestCase {
$userSession->method('getUser')->willReturn($user);
- $ex = $this->getMockBuilder('\OC\DB\QueryBuilder\ExpressionBuilder')
+ $ex = $this->getMockBuilder('\OC\DB\QueryBuilder\ExpressionBuilder\ExpressionBuilder')
->disableOriginalConstructor()
->getMock();
$qb = $this->getMockBuilder('\OC\DB\QueryBuilder\QueryBuilder')
@@ -1584,7 +1584,7 @@ class Test_Share extends \Test\TestCase {
$userSession->method('getUser')->willReturn($user);
- $ex = $this->getMockBuilder('\OC\DB\QueryBuilder\ExpressionBuilder')
+ $ex = $this->getMockBuilder('\OC\DB\QueryBuilder\ExpressionBuilder\ExpressionBuilder')
->disableOriginalConstructor()
->getMock();
$qb = $this->getMockBuilder('\OC\DB\QueryBuilder\QueryBuilder')