aboutsummaryrefslogtreecommitdiffstats
path: root/tests/preseed-config.php
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-03-26 09:30:18 +0100
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-03-26 16:34:56 +0100
commitb80ebc96748b45fd2e0ba9323308657c4b00b7ec (patch)
treeec20e0ffa2f86b9b54939a83a785407319f94559 /tests/preseed-config.php
parent62403d0932be7d620c7bdadc6b4e13eb496fcd6f (diff)
downloadnextcloud-server-b80ebc96748b45fd2e0ba9323308657c4b00b7ec.tar.gz
nextcloud-server-b80ebc96748b45fd2e0ba9323308657c4b00b7ec.zip
Use the short array syntax, everywhere
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'tests/preseed-config.php')
-rw-r--r--tests/preseed-config.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/preseed-config.php b/tests/preseed-config.php
index 2d88d939157..6831ec66f6b 100644
--- a/tests/preseed-config.php
+++ b/tests/preseed-config.php
@@ -21,7 +21,7 @@ if (is_dir(OC::$SERVERROOT.'/apps2')) {
if (getenv('OBJECT_STORE') === 's3') {
$CONFIG['objectstore'] = [
'class' => 'OC\\Files\\ObjectStore\\S3',
- 'arguments' => array(
+ 'arguments' => [
'bucket' => 'nextcloud',
'autocreate' => true,
'key' => 'dummy',
@@ -31,7 +31,7 @@ if (getenv('OBJECT_STORE') === 's3') {
'use_ssl' => false,
// required for some non amazon s3 implementations
'use_path_style' => true
- )
+ ]
];
}
if (getenv('OBJECT_STORE') === 'swift') {
@@ -40,7 +40,7 @@ if (getenv('OBJECT_STORE') === 'swift') {
if (getenv('SWIFT-AUTH') === 'v2.0') {
$CONFIG['objectstore'] = [
'class' => 'OC\\Files\\ObjectStore\\Swift',
- 'arguments' => array(
+ 'arguments' => [
'autocreate' => true,
'username' => 'swift',
'tenantName' => 'service',
@@ -49,12 +49,12 @@ if (getenv('OBJECT_STORE') === 'swift') {
'region' => 'regionOne',
'url' => "http://$swiftHost:5000/v2.0",
'bucket' => 'nextcloud'
- )
+ ]
];
} else {
$CONFIG['objectstore'] = [
'class' => 'OC\\Files\\ObjectStore\\Swift',
- 'arguments' => array(
+ 'arguments' => [
'autocreate' => true,
'user' => [
'name' => 'swift',
@@ -76,19 +76,19 @@ if (getenv('OBJECT_STORE') === 'swift') {
'region' => 'regionOne',
'url' => "http://$swiftHost:5000/v3",
'bucket' => 'nextcloud'
- )
+ ]
];
}
}
if (getenv('OBJECT_STORE') === 'azure') {
$CONFIG['objectstore'] = [
'class' => 'OC\\Files\\ObjectStore\\Azure',
- 'arguments' => array(
+ 'arguments' => [
'container' => 'test',
'account_name' => 'devstoreaccount1',
'account_key' => 'Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==',
'endpoint' => 'http://' . (getenv('DRONE') === 'true' ? 'azurite' : 'localhost') . ':10000/devstoreaccount1',
'autocreate' => true
- )
+ ]
];
}