Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2018-10-08 11:22:27 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2018-10-08 11:31:51 +0300
commit5d2fdfe0b5214bd35bc9842cb6aa53f70aff125d (patch)
tree463a8d8d2bea4666945e028fafedf1e9072a062b /tests
parent80f7add485b4e55d6d3b19cee12231e13bd4ff62 (diff)
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
);