diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-08-21 09:07:10 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-08-21 09:09:15 +0200 |
commit | 2f34df4982515bb859c8d985cb638782892629b6 (patch) | |
tree | 0f88bb828914b6bb82c708dc8959fe5e163867c3 | |
parent | 82748a482ebbd254172368b261df85feb8b8f2e6 (diff) | |
download | nextcloud-server-2f34df4982515bb859c8d985cb638782892629b6.tar.gz nextcloud-server-2f34df4982515bb859c8d985cb638782892629b6.zip |
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>
-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; |