diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-01-02 09:24:22 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-01-02 09:46:53 +0100 |
commit | d62834164915fe5ca7c58f7a7ca2d57396593e13 (patch) | |
tree | 40c6acc35e4db5ef03a6dde1aa34c632a6577934 /tests | |
parent | ea858fcb553aff59f50e4dcabc42fc8c7c2f200d (diff) | |
download | nextcloud-server-d62834164915fe5ca7c58f7a7ca2d57396593e13.tar.gz nextcloud-server-d62834164915fe5ca7c58f7a7ca2d57396593e13.zip |
Get correct translations for SecurityProvider
Fixes #7657
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Settings/Activity/SecurityProviderTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Settings/Activity/SecurityProviderTest.php b/tests/Settings/Activity/SecurityProviderTest.php index 21fc28f3c3b..552548984d7 100644 --- a/tests/Settings/Activity/SecurityProviderTest.php +++ b/tests/Settings/Activity/SecurityProviderTest.php @@ -87,7 +87,7 @@ class SecurityProviderTest extends TestCase { ->willReturn('security'); $this->l10n->expects($this->once()) ->method('get') - ->with('core', $lang) + ->with('settings', $lang) ->willReturn($l); $this->urlGenerator->expects($this->once()) ->method('imagePath') @@ -119,7 +119,7 @@ class SecurityProviderTest extends TestCase { ->willReturn('security'); $this->l10n->expects($this->once()) ->method('get') - ->with('core', $lang) + ->with('settings', $lang) ->willReturn($l); $event->expects($this->once()) ->method('getSubject') |