diff options
author | Carl Schwan <carl@carlschwan.eu> | 2021-10-14 16:07:14 +0300 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2021-10-15 19:41:00 +0300 |
commit | 719dbafd1339702a170f04ebbc4f20e80d45e8c9 (patch) | |
tree | 0e4648b4f770e7c0f7b1ebad33afc718f63fdd8d /apps/federation/tests | |
parent | b585cf1ea1baeb7bbfaf22953e48bbd33e8381fa (diff) |
Add support for Delegation Settings for more apps
* This adds support for the sharing, groupware, theming and user_ldap
app
* This adds some code who disapeared during a rebase in the initial
delegation PR (provisioning_api)
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'apps/federation/tests')
-rw-r--r-- | apps/federation/tests/Settings/AdminTest.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/federation/tests/Settings/AdminTest.php b/apps/federation/tests/Settings/AdminTest.php index e15fb5f8d2b..3d124d5c65a 100644 --- a/apps/federation/tests/Settings/AdminTest.php +++ b/apps/federation/tests/Settings/AdminTest.php @@ -26,6 +26,7 @@ namespace OCA\Federation\Tests\Settings; use OCA\Federation\Settings\Admin; use OCA\Federation\TrustedServers; use OCP\AppFramework\Http\TemplateResponse; +use OCP\IL10N; use Test\TestCase; class AdminTest extends TestCase { @@ -38,7 +39,8 @@ class AdminTest extends TestCase { parent::setUp(); $this->trustedServers = $this->getMockBuilder('\OCA\Federation\TrustedServers')->disableOriginalConstructor()->getMock(); $this->admin = new Admin( - $this->trustedServers + $this->trustedServers, + $this->createMock(IL10N::class) ); } |