summaryrefslogtreecommitdiffstats
path: root/tests/lib/Settings/Admin
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-04-17 20:03:26 +0200
committerJulius Härtl <jus@bitgrid.net>2018-05-03 08:58:24 +0200
commit9bfc108b79f793ed5dd6812d1ca193a38ba02231 (patch)
treed4fe8c492e669e346c2d4ec55acd8945ae2d21a5 /tests/lib/Settings/Admin
parent1f2f7019319cd9f4cfa759be35aea0d888beaba8 (diff)
downloadnextcloud-server-9bfc108b79f793ed5dd6812d1ca193a38ba02231.tar.gz
nextcloud-server-9bfc108b79f793ed5dd6812d1ca193a38ba02231.zip
Cleanup and fix tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'tests/lib/Settings/Admin')
-rw-r--r--tests/lib/Settings/Admin/MailTest.php (renamed from tests/lib/Settings/Admin/AdditionalTest.php)5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/lib/Settings/Admin/AdditionalTest.php b/tests/lib/Settings/Admin/MailTest.php
index 4a254da060b..445aa942059 100644
--- a/tests/lib/Settings/Admin/AdditionalTest.php
+++ b/tests/lib/Settings/Admin/MailTest.php
@@ -24,11 +24,12 @@
namespace Test\Settings\Admin;
use OC\Settings\Admin\Additional;
+use OC\Settings\Admin\Mail;
use OCP\AppFramework\Http\TemplateResponse;
use OCP\IConfig;
use Test\TestCase;
-class AdditionalTest extends TestCase {
+class MailTest extends TestCase {
/** @var Additional */
private $admin;
/** @var IConfig */
@@ -38,7 +39,7 @@ class AdditionalTest extends TestCase {
parent::setUp();
$this->config = $this->getMockBuilder(IConfig::class)->getMock();
- $this->admin = new Additional(
+ $this->admin = new Mail(
$this->config
);
}