diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-05-19 19:09:12 +0200 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2022-05-20 13:27:55 +0200 |
commit | 9d5a542a4e1b70ea9c1a094552bca1a637289e91 (patch) | |
tree | a0b282d0b635cb75e4db443c8823b056b0d7b5a2 /apps/settings/tests | |
parent | eb720b9726aebc20ab0ed19e39ebf9c1c01ec80e (diff) | |
download | nextcloud-server-9d5a542a4e1b70ea9c1a094552bca1a637289e91.tar.gz nextcloud-server-9d5a542a4e1b70ea9c1a094552bca1a637289e91.zip |
Improve two factor admin settings
- Port more of it to vue
- Use new nextcloud vue components for the setting section
- Add a bit of spacing between the elements
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'apps/settings/tests')
-rw-r--r-- | apps/settings/tests/Settings/Admin/SecurityTest.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/settings/tests/Settings/Admin/SecurityTest.php b/apps/settings/tests/Settings/Admin/SecurityTest.php index da4ce62d9cd..8bb330469fb 100644 --- a/apps/settings/tests/Settings/Admin/SecurityTest.php +++ b/apps/settings/tests/Settings/Admin/SecurityTest.php @@ -33,6 +33,7 @@ use OCA\Settings\Settings\Admin\Security; use OCP\AppFramework\Http\TemplateResponse; use OCP\AppFramework\Services\IInitialState; use OCP\IUserManager; +use OCP\IURLGenerator; use PHPUnit\Framework\MockObject\MockObject; use Test\TestCase; @@ -59,7 +60,8 @@ class SecurityTest extends TestCase { $this->manager, $this->userManager, $this->mandatoryTwoFactor, - $this->initialState + $this->initialState, + $this->createMock(IURLGenerator::class) ); } |