diff options
author | Joas Schilling <coding@schilljs.com> | 2020-07-07 10:57:51 +0300 |
---|---|---|
committer | Pellaeon Lin <pellaeon@hs.ntnu.edu.tw> | 2020-07-09 17:54:37 +0300 |
commit | 8266184a50dce8bcdebbc4cc488026192408f64e (patch) | |
tree | a00bcc00131d05ae77f1ce9e1fea6361908f20f3 /tests | |
parent | b317a85744fc4fedf5bbbfbc2a827dce1f34342a (diff) |
Move to PSR-4 naming to support upcoming composer update
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Integration/Controller/RegisterControllerTest.php (renamed from tests/integration/controller/RegisterControllerTest.php) | 4 | ||||
-rw-r--r-- | tests/Integration/Service/RegistrationServiceTest.php (renamed from tests/integration/service/RegistrationServiceTest.php) | 2 | ||||
-rw-r--r-- | tests/Unit/Controller/ApiControllerTest.php (renamed from tests/unit/controller/ApiControllerTest.php) | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/integration/controller/RegisterControllerTest.php b/tests/Integration/Controller/RegisterControllerTest.php index b7f69aa..3f68394 100644 --- a/tests/integration/controller/RegisterControllerTest.php +++ b/tests/Integration/Controller/RegisterControllerTest.php @@ -1,6 +1,6 @@ <?php -namespace OCA\Registration\Controller; +namespace OCA\Registration\Tests\Integration\Controller; use OCA\Registration\Db\Registration; use OCA\Registration\Db\RegistrationMapper; @@ -33,7 +33,7 @@ use ChristophWurst\Nextcloud\Testing\TestCase; * * @group DB */ -class RegistrationControllerTest extends TestCase { +class RegisterControllerTest extends TestCase { use DatabaseTransaction; /** @var MailService */ diff --git a/tests/integration/service/RegistrationServiceTest.php b/tests/Integration/Service/RegistrationServiceTest.php index ff55785..d192dc4 100644 --- a/tests/integration/service/RegistrationServiceTest.php +++ b/tests/Integration/Service/RegistrationServiceTest.php @@ -1,6 +1,6 @@ <?php -namespace OCA\Registration\Service; +namespace OCA\Registration\Tests\Integration\Service; use OCA\Registration\Db\Registration; use OCA\Registration\Db\RegistrationMapper; diff --git a/tests/unit/controller/ApiControllerTest.php b/tests/Unit/Controller/ApiControllerTest.php index c007247..1229ddc 100644 --- a/tests/unit/controller/ApiControllerTest.php +++ b/tests/Unit/Controller/ApiControllerTest.php @@ -9,7 +9,7 @@ * @copyright Pellaeon Lin 2014 */ -namespace OCA\Registration\Controller; +namespace OCA\Registration\Tests\Unit\Controller; use OCA\Registration\Db\Registration; use OCA\Registration\Service\MailService; |