diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-08-10 16:46:00 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-08-10 17:09:49 +0200 |
commit | 300f22163b1d5ca8bd25f0fa46e7683f57b7bab6 (patch) | |
tree | c94a7d49e1e9b88fc0ddc05eeae68987d44ed22f /tests | |
parent | 4b3445f5b7a8bf3a66a839aa9d5b1dc90431eabc (diff) |
add console command to verify installation
Diffstat (limited to 'tests')
-rw-r--r-- | tests/integration/command/CommandTest.php | 7 |
1 files changed, 7 insertions, 0 deletions
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); |