summaryrefslogtreecommitdiffstats
path: root/tests/lib/AllConfigTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/AllConfigTest.php')
-rw-r--r--tests/lib/AllConfigTest.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/lib/AllConfigTest.php b/tests/lib/AllConfigTest.php
index c0e2878de37..bdcf2837fa5 100644
--- a/tests/lib/AllConfigTest.php
+++ b/tests/lib/AllConfigTest.php
@@ -23,13 +23,13 @@ class AllConfigTest extends \Test\TestCase {
protected $connection;
protected function getConfig($systemConfig = null, $connection = null) {
- if($this->connection === null) {
+ if ($this->connection === null) {
$this->connection = \OC::$server->getDatabaseConnection();
}
- if($connection === null) {
+ if ($connection === null) {
$connection = $this->connection;
}
- if($systemConfig === null) {
+ if ($systemConfig === null) {
$systemConfig = $this->getMockBuilder('\OC\SystemConfig')
->disableOriginalConstructor()
->getMock();
@@ -437,5 +437,4 @@ class AllConfigTest extends \Test\TestCase {
// cleanup
$this->connection->executeUpdate('DELETE FROM `*PREFIX*preferences`');
}
-
}