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

github.com/nextcloud/notifications.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-04-19 13:32:17 +0300
committerJoas Schilling <coding@schilljs.com>2017-04-19 13:40:08 +0300
commit3a755927978c79621161bf313280942adafb3560 (patch)
tree53850a3334408474412f8caced9cd5c1caa42b4e /tests/Unit
parenta2346e6a8fef52d7a466c86468e4ed4786bcad55 (diff)
Add more tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests/Unit')
-rw-r--r--tests/Unit/AppInfo/ApplicationTest.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/Unit/AppInfo/ApplicationTest.php b/tests/Unit/AppInfo/ApplicationTest.php
index 3dd6595..652de26 100644
--- a/tests/Unit/AppInfo/ApplicationTest.php
+++ b/tests/Unit/AppInfo/ApplicationTest.php
@@ -26,7 +26,9 @@ use OCA\Notifications\App;
use OCA\Notifications\AppInfo\Application;
use OCA\Notifications\Capabilities;
use OCA\Notifications\Controller\EndpointController;
+use OCA\Notifications\Controller\PushController;
use OCA\Notifications\Handler;
+use OCA\Notifications\Push;
use OCA\Notifications\Tests\Unit\TestCase;
use OCP\AppFramework\IAppContainer;
use OCP\AppFramework\OCSController;
@@ -63,12 +65,13 @@ class ApplicationTest extends TestCase {
array(App::class, IApp::class),
array(Capabilities::class),
array(Handler::class),
+ array(Push::class),
// Controller/
- array('EndpointController', EndpointController::class),
- array('EndpointController', OCSController::class),
array(EndpointController::class),
array(EndpointController::class, OCSController::class),
+ array(PushController::class),
+ array(PushController::class, OCSController::class),
);
}