summaryrefslogtreecommitdiffstats
path: root/tests/preseed-config.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/preseed-config.php')
-rw-r--r--tests/preseed-config.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/preseed-config.php b/tests/preseed-config.php
index 53579406472..7c080038734 100644
--- a/tests/preseed-config.php
+++ b/tests/preseed-config.php
@@ -18,10 +18,6 @@ if (is_dir(OC::$SERVERROOT.'/apps2')) {
];
}
-if (substr(strtolower(PHP_OS), 0, 3) === 'win') {
- $CONFIG['openssl'] = ['config' => OC::$SERVERROOT . '/tests/data/openssl.cnf'];
-}
-
if (getenv('OBJECT_STORE') === 's3') {
$CONFIG['objectstore'] = [
'class' => 'OC\\Files\\ObjectStore\\S3',
@@ -30,7 +26,7 @@ if (getenv('OBJECT_STORE') === 's3') {
'autocreate' => true,
'key' => 'dummy',
'secret' => 'dummy',
- 'hostname' => 'localhost',
+ 'hostname' => getenv('DRONE') === 'true' ? 'fake-s3' : 'localhost',
'port' => 4569,
'use_ssl' => false,
// required for some non amazon s3 implementations