summaryrefslogtreecommitdiffstats
path: root/apps/files_external/tests/swift.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/tests/swift.php')
-rw-r--r--apps/files_external/tests/swift.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/tests/swift.php b/apps/files_external/tests/swift.php
index 8cf2a3abc76..8b25db50996 100644
--- a/apps/files_external/tests/swift.php
+++ b/apps/files_external/tests/swift.php
@@ -12,7 +12,7 @@ class Test_Filestorage_SWIFT extends Test_FileStorage {
public function setUp() {
$id = uniqid();
$this->config = include('files_external/tests/config.php');
- if (!is_array($this->config) or !isset($this->config['swift']) or !$this->config['swift']['run']) {
+ if ( ! is_array($this->config) or ! isset($this->config['swift']) or ! $this->config['swift']['run']) {
$this->markTestSkipped('OpenStack SWIFT backend not configured');
}
$this->config['swift']['root'] .= '/' . $id; //make sure we have an new empty folder to work in