diff options
author | Morris Jobke <hey@morrisjobke.de> | 2014-11-27 18:19:14 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2014-12-08 22:29:43 +0100 |
commit | a9e411e076ddbb5525ad44db4cad9efe2efd0fd2 (patch) | |
tree | 9cf256b1bc48a8fd93f4b78d5dde45012971f3ae /tests | |
parent | 719008836d5254c6fa3975c5044d1c6a811bc124 (diff) | |
download | nextcloud-server-a9e411e076ddbb5525ad44db4cad9efe2efd0fd2.tar.gz nextcloud-server-a9e411e076ddbb5525ad44db4cad9efe2efd0fd2.zip |
migrate \OC\AllConfig to \OCP\IConfig
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/app/infoparser.php | 2 | ||||
-rw-r--r-- | tests/lib/httphelper.php | 4 | ||||
-rw-r--r-- | tests/lib/user/user.php | 3 |
3 files changed, 4 insertions, 5 deletions
diff --git a/tests/lib/app/infoparser.php b/tests/lib/app/infoparser.php index 13c0b51e117..e291b616e8b 100644 --- a/tests/lib/app/infoparser.php +++ b/tests/lib/app/infoparser.php @@ -19,7 +19,7 @@ class InfoParser extends \PHPUnit_Framework_TestCase { private $parser; public function setUp() { - $config = $this->getMockBuilder('\OC\AllConfig') + $config = $this->getMockBuilder('\OCP\IConfig') ->disableOriginalConstructor()->getMock(); $httpHelper = $this->getMockBuilder('\OC\HTTPHelper') ->setConstructorArgs(array($config)) diff --git a/tests/lib/httphelper.php b/tests/lib/httphelper.php index eb58508f158..1cc4232ab4b 100644 --- a/tests/lib/httphelper.php +++ b/tests/lib/httphelper.php @@ -8,7 +8,7 @@ class TestHTTPHelper extends \Test\TestCase { - /** @var \OC\AllConfig*/ + /** @var \OCP\IConfig*/ private $config; /** @var \OC\HTTPHelper */ private $httpHelperMock; @@ -16,7 +16,7 @@ class TestHTTPHelper extends \Test\TestCase { protected function setUp() { parent::setUp(); - $this->config = $this->getMockBuilder('\OC\AllConfig') + $this->config = $this->getMockBuilder('\OCP\IConfig') ->disableOriginalConstructor()->getMock(); $this->httpHelperMock = $this->getMockBuilder('\OC\HTTPHelper') ->setConstructorArgs(array($this->config)) diff --git a/tests/lib/user/user.php b/tests/lib/user/user.php index 85ade9ccaf1..a940d6eb627 100644 --- a/tests/lib/user/user.php +++ b/tests/lib/user/user.php @@ -9,7 +9,6 @@ namespace Test\User; -use OC\AllConfig; use OC\Hooks\PublicEmitter; class User extends \Test\TestCase { @@ -228,7 +227,7 @@ class User extends \Test\TestCase { ->method('implementsActions') ->will($this->returnValue(false)); - $allConfig = $this->getMockBuilder('\OC\AllConfig') + $allConfig = $this->getMockBuilder('\OCP\IConfig') ->disableOriginalConstructor() ->getMock(); $allConfig->expects($this->any()) |