diff options
Diffstat (limited to 'tests/integration/command/CommandTest.php')
-rw-r--r-- | tests/integration/command/CommandTest.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/integration/command/CommandTest.php b/tests/integration/command/CommandTest.php new file mode 100644 index 000000000..ed63e5251 --- /dev/null +++ b/tests/integration/command/CommandTest.php @@ -0,0 +1,21 @@ +<?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 { + + public function testCommandOk() { + $command = __DIR__ . '/../../../../../occ news:create-search-indices'; + exec($command, $_, $success); + + $this->assertSame(0, $success); + } + +} |