diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-10-08 10:22:27 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-10-08 10:31:51 +0200 |
commit | 5d2fdfe0b5214bd35bc9842cb6aa53f70aff125d (patch) | |
tree | 463a8d8d2bea4666945e028fafedf1e9072a062b /tests | |
parent | 80f7add485b4e55d6d3b19cee12231e13bd4ff62 (diff) | |
download | nextcloud-server-5d2fdfe0b5214bd35bc9842cb6aa53f70aff125d.tar.gz nextcloud-server-5d2fdfe0b5214bd35bc9842cb6aa53f70aff125d.zip |
Rename admin security section
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/Settings/Admin/SecurityTest.php (renamed from tests/lib/Settings/Admin/EncryptionTest.php) | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/lib/Settings/Admin/EncryptionTest.php b/tests/lib/Settings/Admin/SecurityTest.php index 9be2a3f46d9..4ad98227297 100644 --- a/tests/lib/Settings/Admin/EncryptionTest.php +++ b/tests/lib/Settings/Admin/SecurityTest.php @@ -24,13 +24,13 @@ namespace Test\Settings\Admin; use OC\Encryption\Manager; -use OC\Settings\Admin\Encryption; +use OC\Settings\Admin\Security; use OCP\AppFramework\Http\TemplateResponse; use OCP\IUserManager; use Test\TestCase; -class EncryptionTest extends TestCase { - /** @var Encryption */ +class SecurityTest extends TestCase { + /** @var Security */ private $admin; /** @var Manager */ private $manager; @@ -42,7 +42,7 @@ class EncryptionTest extends TestCase { $this->manager = $this->getMockBuilder('\OC\Encryption\Manager')->disableOriginalConstructor()->getMock(); $this->userManager = $this->getMockBuilder(IUserManager::class)->getMock(); - $this->admin = new Encryption( + $this->admin = new Security( $this->manager, $this->userManager ); |