diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2020-01-30 13:30:45 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2020-01-30 22:06:28 +0100 |
commit | c9253cce6cacedc19dbb04d8dd89a3da1473ef20 (patch) | |
tree | 7f4b8e715d6c402a1ce7dcfadcc7bae0db43ef53 /apps/settings/tests | |
parent | dc1979903ef4c88ad0ae06b40386e2fa339837c2 (diff) | |
download | nextcloud-server-c9253cce6cacedc19dbb04d8dd89a3da1473ef20.tar.gz nextcloud-server-c9253cce6cacedc19dbb04d8dd89a3da1473ef20.zip |
Move personal settings to proper registration
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/settings/tests')
3 files changed, 6 insertions, 7 deletions
diff --git a/apps/settings/tests/Controller/AdminSettingsControllerTest.php b/apps/settings/tests/Controller/AdminSettingsControllerTest.php index ee8672691fc..9a82fd97854 100644 --- a/apps/settings/tests/Controller/AdminSettingsControllerTest.php +++ b/apps/settings/tests/Controller/AdminSettingsControllerTest.php @@ -28,7 +28,7 @@ namespace OCA\Settings\Tests\Controller; use OCA\Settings\Controller\AdminSettingsController; -use OCA\Settings\Personal\ServerDevNotice; +use OCA\Settings\Settings\Personal\ServerDevNotice; use OCP\AppFramework\Http\TemplateResponse; use OCP\Group\ISubAdmin; use OCP\IGroupManager; diff --git a/apps/settings/tests/Settings/Personal/Security/AuthtokensTest.php b/apps/settings/tests/Settings/Personal/Security/AuthtokensTest.php index 6fd7cf22efe..1f85f49106a 100644 --- a/apps/settings/tests/Settings/Personal/Security/AuthtokensTest.php +++ b/apps/settings/tests/Settings/Personal/Security/AuthtokensTest.php @@ -29,8 +29,7 @@ namespace OCA\Settings\Tests\Settings\Personal\Security; use OC\Authentication\Token\DefaultToken; use OC\Authentication\Token\IProvider as IAuthTokenProvider; -use OCA\Settings\Personal\Password; -use OCA\Settings\Personal\Security\Authtokens; +use OCA\Settings\Settings\Personal\Security\Authtokens; use OCP\AppFramework\Http\TemplateResponse; use OCP\IInitialStateService; use OCP\ISession; @@ -55,7 +54,7 @@ class AuthtokensTest extends TestCase { /** @var string */ private $uid; - /** @var Security\Authtokens */ + /** @var Authtokens */ private $section; protected function setUp(): void { diff --git a/apps/settings/tests/Settings/Personal/Security/PasswordTest.php b/apps/settings/tests/Settings/Personal/Security/PasswordTest.php index 160e4ebf844..8eb4c022e71 100644 --- a/apps/settings/tests/Settings/Personal/Security/PasswordTest.php +++ b/apps/settings/tests/Settings/Personal/Security/PasswordTest.php @@ -25,9 +25,9 @@ declare(strict_types=1); * */ -namespace OCA\Settings\Tests\Settings\Personal; +namespace OCA\Settings\Tests\Settings\Personal\Security; -use OCA\Settings\Personal\Security\Password; +use OCA\Settings\Settings\Personal\Security\Password; use OCP\AppFramework\Http\TemplateResponse; use OCP\IUser; use OCP\IUserManager; @@ -69,7 +69,7 @@ class PasswordTest extends TestCase { $form = $this->section->getForm(); - $expected = new TemplateResponse('settings', 'settings/personal/security', [ + $expected = new TemplateResponse('settings', 'settings/personal/security/password', [ 'passwordChangeSupported' => true, ]); $this->assertEquals($expected, $form); |