diff options
Diffstat (limited to 'tests/integration/AppTest.php')
-rw-r--r-- | tests/integration/AppTest.php | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/tests/integration/AppTest.php b/tests/integration/AppTest.php deleted file mode 100644 index 6adedf1f..00000000 --- a/tests/integration/AppTest.php +++ /dev/null @@ -1,36 +0,0 @@ -<?php -/** - * Nextcloud - contacts - * - * This file is licensed under the Affero General Public License version 3 or - * later. See the COPYING file. - * - * @author Hendrik Leppelsack <hendrik@leppelsack.de> - * @copyright Hendrik Leppelsack 2015 - */ - -use OCP\AppFramework\App; -use Test\TestCase; - - -/** - * This test shows how to make a small Integration Test. Query your class - * directly from the container, only pass in mocks if needed and run your tests - * against the database - */ -class AppTest extends TestCase { - - private $container; - - public function setUp() { - parent::setUp(); - $app = new App('contacts'); - $this->container = $app->getContainer(); - } - - public function testAppInstalled() { - $appManager = $this->container->query('OCP\App\IAppManager'); - $this->assertTrue($appManager->isInstalled('contacts')); - } - -} |