From 2f34df4982515bb859c8d985cb638782892629b6 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Tue, 21 Aug 2018 09:07:10 +0200 Subject: [PATCH] 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 --- .../tests/{Integration => }/Db/BackupCodeMapperTest.php | 2 +- .../tests/{Integration => }/Service/BackupCodeStorageTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename apps/twofactor_backupcodes/tests/{Integration => }/Db/BackupCodeMapperTest.php (98%) rename apps/twofactor_backupcodes/tests/{Integration => }/Service/BackupCodeStorageTest.php (97%) diff --git a/apps/twofactor_backupcodes/tests/Integration/Db/BackupCodeMapperTest.php b/apps/twofactor_backupcodes/tests/Db/BackupCodeMapperTest.php similarity index 98% rename from apps/twofactor_backupcodes/tests/Integration/Db/BackupCodeMapperTest.php rename to apps/twofactor_backupcodes/tests/Db/BackupCodeMapperTest.php index 6640a1c0eb..76cdac3c21 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 similarity index 97% rename from apps/twofactor_backupcodes/tests/Integration/Service/BackupCodeStorageTest.php rename to apps/twofactor_backupcodes/tests/Service/BackupCodeStorageTest.php index 6d28b4fa75..7d47b4ea72 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;