Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/gallery.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Paroz <github@oparoz.com>2015-09-12 14:18:15 +0300
committerOlivier Paroz <github@oparoz.com>2015-09-12 14:18:15 +0300
commit78a91c361fd027fe3900dd9fe1b30e3c0ccd534f (patch)
treead162da7e7daafdef5ba48710ea5e3027851c429 /tests/_support
parente39947824aba282e9ffb56c002075c38f2488d51 (diff)
Add extra configuration file in test sub-folder
Diffstat (limited to 'tests/_support')
-rw-r--r--tests/_support/Helper/DataSetup.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/_support/Helper/DataSetup.php b/tests/_support/Helper/DataSetup.php
index d59dc9ae..a8800b1b 100644
--- a/tests/_support/Helper/DataSetup.php
+++ b/tests/_support/Helper/DataSetup.php
@@ -220,7 +220,7 @@ class DataSetup extends \Codeception\Module {
public function restoreValidConfig() {
$userFolder = $this->server->getUserFolder($this->userId);
- $this->addFile($userFolder, $this->userId . '-' . 'gallery.cnf', 'gallery.cnf');
+ $this->addFile($userFolder, $this->userId . '-gallery.cnf', 'gallery.cnf');
}
/**
@@ -316,7 +316,8 @@ class DataSetup extends \Codeception\Module {
$this->createStructure($userFolder, $structure);
// Add configuration. This will break if the config filename or the userId is changed
- $this->addFile($userFolder, $userId . '-' . 'gallery.cnf', 'gallery.cnf');
+ $this->addFile($userFolder, $userId . '-gallery.cnf', 'gallery.cnf');
+ $this->addFile($userFolder->get('folder2'), 'sorting-gallery.cnf', 'gallery.cnf');
}
/**