Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class Amazons3MultiPartTest extends \Test\Files\Storage\Storage {
protected function setUp(): void {
parent::setUp();

$this->loadConfig('files_external/tests/config.amazons3.php');
$this->loadConfig(__DIR__ . '/../config.amazons3.php');

$this->instance = new AmazonS3($this->config + [
'putSizeLimit' => 1,
Expand Down
2 changes: 1 addition & 1 deletion apps/files_external/tests/Storage/Amazons3Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class Amazons3Test extends \Test\Files\Storage\Storage {
protected function setUp(): void {
parent::setUp();

$this->loadConfig('files_external/tests/config.amazons3.php');
$this->loadConfig(__DIR__ . '/../config.amazons3.php');
$this->instance = new AmazonS3($this->config);
}

Expand Down
2 changes: 1 addition & 1 deletion apps/files_external/tests/Storage/FtpTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ protected function setUp(): void {
parent::setUp();

$id = $this->getUniqueID();
$this->loadConfig('files_external/tests/config.ftp.php');
$this->loadConfig(__DIR__ . '/../config.ftp.php');

$rootInstance = new FTP($this->config);
$rootInstance->mkdir($id);
Expand Down
2 changes: 1 addition & 1 deletion apps/files_external/tests/Storage/OwncloudTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ protected function setUp(): void {
parent::setUp();

$id = $this->getUniqueID();
$this->loadConfig('files_external/tests/config.php');
$this->loadConfig(__DIR__ . '/../config.php');
$this->config['owncloud']['root'] .= '/' . $id; //make sure we have an new empty folder to work in
$this->instance = new OwnCloud($this->config['owncloud']);
$this->instance->mkdir('/');
Expand Down
2 changes: 1 addition & 1 deletion apps/files_external/tests/Storage/SFTP_KeyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ protected function setUp(): void {
parent::setUp();

$id = $this->getUniqueID();
$this->loadConfig('files_external/tests/config.php');
$this->loadConfig(__DIR__ . '/../config.php');
// Make sure we have an new empty folder to work in
$this->config['sftp_key']['root'] .= '/' . $id;
$this->instance = new SFTP_Key($this->config['sftp_key']);
Expand Down
2 changes: 1 addition & 1 deletion apps/files_external/tests/Storage/SftpTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ protected function setUp(): void {
parent::setUp();

$id = $this->getUniqueID();
$this->loadConfig('files_external/tests/config.sftp.php');
$this->loadConfig(__DIR__ . '/../config.sftp.php');
$this->config['root'] .= '/' . $id; //make sure we have an new empty folder to work in
$this->instance = new SFTP($this->config);
$this->instance->mkdir('/');
Expand Down
2 changes: 1 addition & 1 deletion apps/files_external/tests/Storage/SmbTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ protected function setUp(): void {
parent::setUp();

$id = $this->getUniqueID();
$this->loadConfig('files_external/tests/config.smb.php');
$this->loadConfig(__DIR__ . '/../config.smb.php');
if (substr($this->config['root'], -1, 1) != '/') {
$this->config['root'] .= '/';
}
Expand Down
2 changes: 1 addition & 1 deletion apps/files_external/tests/Storage/SwiftTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class SwiftTest extends \Test\Files\Storage\Storage {
protected function setUp(): void {
parent::setUp();

$this->loadConfig('files_external/tests/config.swift.php');
$this->loadConfig(__DIR__ . '/../config.swift.php');
$this->instance = new Swift($this->config);
}

Expand Down
2 changes: 1 addition & 1 deletion apps/files_external/tests/Storage/WebdavTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ protected function setUp(): void {
parent::setUp();

$id = $this->getUniqueID();
$this->loadConfig('files_external/tests/config.webdav.php');
$this->loadConfig(__DIR__ . '/../config.webdav.php');
if (isset($this->config['wait'])) {
$this->waitDelay = $this->config['wait'];
}
Expand Down
Loading