Move to PSR-4 naming to support upcoming composer update
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
b317a85744
commit
8266184a50
|
|
@ -9,8 +9,6 @@
|
|||
* @copyright Pellaeon Lin 2014
|
||||
*/
|
||||
|
||||
namespace OCA\Registration\AppInfo;
|
||||
|
||||
\OC_App::registerLogIn([
|
||||
'name' => \OC::$server->getL10N('registration')->t('Register'),
|
||||
'href' => \OC::$server->getURLGenerator()->linkToRoute('registration.register.askEmail')
|
||||
|
|
|
|||
|
|
@ -10,8 +10,6 @@
|
|||
* @copyright Pellaeon Lin 2014
|
||||
*/
|
||||
|
||||
$app = new \OCA\Registration\AppInfo\Application();
|
||||
|
||||
return [
|
||||
'routes' => [
|
||||
['name' => 'settings#admin', 'url' => '/settings', 'verb' => 'POST'],
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
@ -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;
|
||||
|
|
@ -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;
|
||||
Loading…
Reference in New Issue