summaryrefslogtreecommitdiffstats
path: root/tests/integration/command/CommandTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration/command/CommandTest.php')
-rw-r--r--tests/integration/command/CommandTest.php34
1 files changed, 0 insertions, 34 deletions
diff --git a/tests/integration/command/CommandTest.php b/tests/integration/command/CommandTest.php
deleted file mode 100644
index 72d7602ff..000000000
--- a/tests/integration/command/CommandTest.php
+++ /dev/null
@@ -1,34 +0,0 @@
-<?php
-/**
- * ownCloud - News
- *
- * This file is licensed under the Affero General Public License version 3 or
- * later. See the COPYING file.
- *
- * @author Bernhard Posselt <dev@bernhard-posselt.com>
- * @copyright Bernhard Posselt 2015
- */
-
-class CommandTest extends \PHPUnit_Framework_TestCase {
-
- private $corePath;
-
- public function setUp() {
- $this->corePath = __DIR__ . '/../../../../../';
- }
-
- public function testMigrate() {
- $command = $this->corePath . 'occ news:migrate';
- exec($command, $_, $success);
-
- $this->assertSame(0, $success);
- }
-
- public function testCronUpdate() {
- $command = 'php -f ' . $this->corePath . 'cron.php';
- exec($command, $output, $success);
-
- $this->assertSame(0, $success);
- }
-
-}