Files
newznab-tmux/tests/Install/InstallTest.php
T
2019-05-07 20:56:19 +02:00

31 lines
732 B
PHP

<?php
/**
* This file is part of NNTmux.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @author DariusIII
* @copyright (c) 2017, NNTmux
* @version 0.0.1
*/
namespace tests;
require_once \dirname(__DIR__, 2).DIRECTORY_SEPARATOR.'bootstrap/autoload.php';
/**
* Class InstallTest.
*/
class InstallTest extends \PHPUnit\Framework\TestCase
{
public function testFullInstall()
{
passthru('php '.NN_ROOT.'artisan migrate:fresh --seed');
$message = 'NNTmux installation completed successfully';
$this->assertEquals('NNTmux installation completed successfully', $message, 'Test Failed');
}
}