mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 17:28:55 +00:00
33 lines
755 B
PHP
33 lines
755 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 test_full_install(): void
|
|
{
|
|
passthru('php '.base_path().'/artisan migrate:fresh --seed');
|
|
|
|
$message = 'NNTmux installation completed successfully';
|
|
|
|
$this->assertEquals('NNTmux installation completed successfully', $message, 'Test Failed');
|
|
}
|
|
}
|