From 300f22163b1d5ca8bd25f0fa46e7683f57b7bab6 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Mon, 10 Aug 2015 16:46:00 +0200 Subject: add console command to verify installation --- tests/integration/command/CommandTest.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tests') diff --git a/tests/integration/command/CommandTest.php b/tests/integration/command/CommandTest.php index be7174fbf..12c676a64 100644 --- a/tests/integration/command/CommandTest.php +++ b/tests/integration/command/CommandTest.php @@ -24,6 +24,13 @@ class CommandTest extends \PHPUnit_Framework_TestCase { $this->assertSame(0, $success); } + public function testValidateInstall() { + $command = $this->corePath . 'occ news:validate-install'; + exec($command, $_, $success); + + $this->assertSame(0, $success); + } + public function testCronUpdate() { $command = 'php -f ' . $this->corePath . 'cron.php'; exec($command, $_, $success); -- cgit v1.2.3