diff options
author | Joas Schilling <coding@schilljs.com> | 2022-04-04 16:18:04 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-04-04 16:18:04 +0300 |
commit | 596a5132c8caa0672e1b3a67d918595f34689089 (patch) | |
tree | 573908424a72270eef3faeeec7f4d7e78cdeec4f | |
parent | 944cc5f963d804915b88fd801364e5c78c2f86ae (diff) |
Do integration tests work?
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r-- | tests/Unit/Controller/AdminControllerTest.php | 0 | ||||
-rw-r--r-- | tests/Unit/Controller/PageControllerTest.php | 29 | ||||
-rw-r--r-- | tests/Unit/Controller/PersonalControllerTest.php | 0 | ||||
-rw-r--r-- | tests/Unit/Migration/Version100Date20190217131943Test.php | 0 | ||||
-rw-r--r-- | tests/Unit/Settings/MissionSettingsTest.php | 0 | ||||
-rw-r--r-- | tests/Unit/Settings/PrivacySectionTest.php | 0 | ||||
-rw-r--r-- | tests/Unit/Settings/UserDataManifestoSettingsTest.php | 0 | ||||
-rw-r--r-- | tests/Unit/Settings/WhereIsMyDataSettingsTest.php | 0 | ||||
-rw-r--r-- | tests/Unit/Settings/WhoHasAccessSettingsTest.php | 0 | ||||
-rw-r--r-- | tests/phpunit.xml | 7 |
10 files changed, 0 insertions, 36 deletions
diff --git a/tests/Unit/Controller/AdminControllerTest.php b/tests/Unit/Controller/AdminControllerTest.php deleted file mode 100644 index e69de29..0000000 --- a/tests/Unit/Controller/AdminControllerTest.php +++ /dev/null diff --git a/tests/Unit/Controller/PageControllerTest.php b/tests/Unit/Controller/PageControllerTest.php deleted file mode 100644 index 08f8905..0000000 --- a/tests/Unit/Controller/PageControllerTest.php +++ /dev/null @@ -1,29 +0,0 @@ -<?php - -namespace OCA\Privacy\Tests\Unit\Controller; - -use PHPUnit\Framework\TestCase; - -use OCP\AppFramework\Http\TemplateResponse; - -use OCA\Privacy\Controller\PageController; - -class PageControllerTest extends TestCase { - private $controller; - private $userId = 'john'; - - protected function setUp(): void { - $request = $this->getMockBuilder('OCP\IRequest')->getMock(); - - $this->controller = new PageController( - 'privacy', $request, $this->userId - ); - } - - public function testIndex() { - $result = $this->controller->index(); - - $this->assertEquals('index', $result->getTemplateName()); - $this->assertTrue($result instanceof TemplateResponse); - } -} diff --git a/tests/Unit/Controller/PersonalControllerTest.php b/tests/Unit/Controller/PersonalControllerTest.php deleted file mode 100644 index e69de29..0000000 --- a/tests/Unit/Controller/PersonalControllerTest.php +++ /dev/null diff --git a/tests/Unit/Migration/Version100Date20190217131943Test.php b/tests/Unit/Migration/Version100Date20190217131943Test.php deleted file mode 100644 index e69de29..0000000 --- a/tests/Unit/Migration/Version100Date20190217131943Test.php +++ /dev/null diff --git a/tests/Unit/Settings/MissionSettingsTest.php b/tests/Unit/Settings/MissionSettingsTest.php deleted file mode 100644 index e69de29..0000000 --- a/tests/Unit/Settings/MissionSettingsTest.php +++ /dev/null diff --git a/tests/Unit/Settings/PrivacySectionTest.php b/tests/Unit/Settings/PrivacySectionTest.php deleted file mode 100644 index e69de29..0000000 --- a/tests/Unit/Settings/PrivacySectionTest.php +++ /dev/null diff --git a/tests/Unit/Settings/UserDataManifestoSettingsTest.php b/tests/Unit/Settings/UserDataManifestoSettingsTest.php deleted file mode 100644 index e69de29..0000000 --- a/tests/Unit/Settings/UserDataManifestoSettingsTest.php +++ /dev/null diff --git a/tests/Unit/Settings/WhereIsMyDataSettingsTest.php b/tests/Unit/Settings/WhereIsMyDataSettingsTest.php deleted file mode 100644 index e69de29..0000000 --- a/tests/Unit/Settings/WhereIsMyDataSettingsTest.php +++ /dev/null diff --git a/tests/Unit/Settings/WhoHasAccessSettingsTest.php b/tests/Unit/Settings/WhoHasAccessSettingsTest.php deleted file mode 100644 index e69de29..0000000 --- a/tests/Unit/Settings/WhoHasAccessSettingsTest.php +++ /dev/null diff --git a/tests/phpunit.xml b/tests/phpunit.xml deleted file mode 100644 index 74424d3..0000000 --- a/tests/phpunit.xml +++ /dev/null @@ -1,7 +0,0 @@ -<phpunit bootstrap="bootstrap.php" colors="true"> - <testsuites> - <testsuite name="unit"> - <directory>./Unit</directory> - </testsuite> - </testsuites> -</phpunit> |