diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-11-26 19:51:29 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-11-26 19:51:49 +0100 |
commit | 6f48a74ead80c57e291ca2be78645449e99ae5f0 (patch) | |
tree | 783d228246b38fe135f772461958d00f56900ac0 /tests/integration | |
parent | 050ca4af5a2c72ecd31305ed7b91afc4f411efa1 (diff) |
add autoupdate for indices
Diffstat (limited to 'tests/integration')
-rw-r--r-- | tests/integration/command/CommandTest.php | 34 |
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); - } - -} |