Files
newznab-tmux/tests/Install/InstallTest.php
T
2023-09-15 18:11:30 +00:00

32 lines
752 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.
*/
final class InstallTest extends \PHPUnit\Framework\TestCase
{
public function testFullInstall(): void
{
passthru('php '.base_path().'/artisan migrate:fresh --seed');
$message = 'NNTmux installation completed successfully';
$this->assertEquals('NNTmux installation completed successfully', $message, 'Test Failed');
}
}