From 6f48a74ead80c57e291ca2be78645449e99ae5f0 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Thu, 26 Nov 2015 19:51:29 +0100 Subject: add autoupdate for indices --- tests/integration/command/CommandTest.php | 34 ------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 tests/integration/command/CommandTest.php (limited to 'tests/integration') 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 @@ - - * @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); - } - -} -- cgit v1.2.3