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

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2018-08-21 10:07:10 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2018-08-21 10:09:15 +0300
commit2f34df4982515bb859c8d985cb638782892629b6 (patch)
tree0f88bb828914b6bb82c708dc8959fe5e163867c3 /apps/twofactor_backupcodes
parent82748a482ebbd254172368b261df85feb8b8f2e6 (diff)
Fix integration test execution on Dron
Apparently the Nextcloud server ignores tests that have `Integration` in their fully-qualified class name, hence the backup codes integration tests were removed. This moves them up one directory (out of `Integration`) to fix that. Real unit tests remain in the `Unit` directory. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/twofactor_backupcodes')
-rw-r--r--apps/twofactor_backupcodes/tests/Db/BackupCodeMapperTest.php (renamed from apps/twofactor_backupcodes/tests/Integration/Db/BackupCodeMapperTest.php)2
-rw-r--r--apps/twofactor_backupcodes/tests/Service/BackupCodeStorageTest.php (renamed from apps/twofactor_backupcodes/tests/Integration/Service/BackupCodeStorageTest.php)2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/twofactor_backupcodes/tests/Integration/Db/BackupCodeMapperTest.php b/apps/twofactor_backupcodes/tests/Db/BackupCodeMapperTest.php
index 6640a1c0ebf..76cdac3c21a 100644
--- a/apps/twofactor_backupcodes/tests/Integration/Db/BackupCodeMapperTest.php
+++ b/apps/twofactor_backupcodes/tests/Db/BackupCodeMapperTest.php
@@ -20,7 +20,7 @@
*
*/
-namespace OCA\TwoFactorBackupCodes\Tests\Integration\Db;
+namespace OCA\TwoFactorBackupCodes\Tests\Db;
use OCA\TwoFactorBackupCodes\Db\BackupCode;
use OCA\TwoFactorBackupCodes\Db\BackupCodeMapper;
diff --git a/apps/twofactor_backupcodes/tests/Integration/Service/BackupCodeStorageTest.php b/apps/twofactor_backupcodes/tests/Service/BackupCodeStorageTest.php
index 6d28b4fa758..7d47b4ea721 100644
--- a/apps/twofactor_backupcodes/tests/Integration/Service/BackupCodeStorageTest.php
+++ b/apps/twofactor_backupcodes/tests/Service/BackupCodeStorageTest.php
@@ -20,7 +20,7 @@
*
*/
-namespace OCA\TwoFactorBackupCodes\Tests\Integration\Service;
+namespace OCA\TwoFactorBackupCodes\Tests\Service;
use OCA\TwoFactorBackupCodes\Service\BackupCodeStorage;
use Test\TestCase;