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

github.com/nextcloud/announcementcenter.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-11-30 14:40:03 +0300
committerJoas Schilling <coding@schilljs.com>2016-11-30 14:52:36 +0300
commit8c7de3b582a99d70d194d7574f3efa1928dd9ae2 (patch)
tree61cf775a1df93f45caa4d3956aa22f4724a47c28 /tests
parentf459a96ef70aa738a939c99326ddc8f42c50fa33 (diff)
Check whether the Setting implements the interface
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/AppInfo/ApplicationTest.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/AppInfo/ApplicationTest.php b/tests/AppInfo/ApplicationTest.php
index 02e6134..58c5390 100644
--- a/tests/AppInfo/ApplicationTest.php
+++ b/tests/AppInfo/ApplicationTest.php
@@ -25,7 +25,9 @@ namespace OCA\AnnouncementCenter\Tests\AppInfo;
use OCA\AnnouncementCenter\AppInfo\Application;
+use OCA\AnnouncementCenter\Settings\Admin;
use OCA\AnnouncementCenter\Tests\TestCase;
+use OCP\Settings\ISettings;
/**
* Class ApplicationTest
@@ -54,6 +56,8 @@ class ApplicationTest extends TestCase {
public function dataContainerQuery() {
return array(
array('PageController', 'OCA\AnnouncementCenter\Controller\PageController'),
+
+ [Admin::class, ISettings::class],
);
}