diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2020-01-30 15:24:10 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2020-01-30 16:03:28 +0300 |
commit | dc1979903ef4c88ad0ae06b40386e2fa339837c2 (patch) | |
tree | 56d647a12c5362df77c21a5c92e1380e406602f9 /tests | |
parent | 9ed106f69acaf419414dccfcfd7efa6de22aa45a (diff) |
Move password settings
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/Settings/ManagerTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lib/Settings/ManagerTest.php b/tests/lib/Settings/ManagerTest.php index 3980990c7b1..7972a4bdbba 100644 --- a/tests/lib/Settings/ManagerTest.php +++ b/tests/lib/Settings/ManagerTest.php @@ -26,7 +26,7 @@ namespace OCA\Settings\Tests\AppInfo; use OC\Settings\Manager; use OC\Settings\Section; use OCA\Settings\Admin\Sharing; -use OCA\Settings\Personal\Security; +use OCA\Settings\Personal\Password; use OCP\IDBConnection; use OCP\IL10N; use OCP\ILogger; @@ -149,7 +149,7 @@ class ManagerTest extends TestCase { } public function testGetPersonalSettings() { - $section = $this->createMock(Security::class); + $section = $this->createMock(Password::class); $section->expects($this->once()) ->method('getPriority') ->willReturn(16); @@ -159,7 +159,7 @@ class ManagerTest extends TestCase { ->willReturn(100); $this->container->expects($this->at(0)) ->method('query') - ->with(Security::class) + ->with(Password::class) ->willReturn($section); $this->container->expects($this->at(1)) ->method('query') |