mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Update bootstrapping and create Yenc service and facade
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of NNTmux.
|
||||
*
|
||||
@@ -12,21 +15,20 @@
|
||||
* @version 0.0.1
|
||||
*/
|
||||
|
||||
namespace tests;
|
||||
namespace Tests\Install;
|
||||
|
||||
require_once \dirname(__DIR__, 2).DIRECTORY_SEPARATOR.'bootstrap/autoload.php';
|
||||
use Tests\TestCase;
|
||||
|
||||
/**
|
||||
* Class InstallTest.
|
||||
*/
|
||||
final class InstallTest extends \PHPUnit\Framework\TestCase
|
||||
final class InstallTest extends TestCase
|
||||
{
|
||||
public function test_full_install(): void
|
||||
{
|
||||
passthru('php '.base_path().'/artisan migrate:fresh --seed');
|
||||
$this->artisan('migrate:fresh', ['--seed' => true])
|
||||
->assertExitCode(0);
|
||||
|
||||
$message = 'NNTmux installation completed successfully';
|
||||
|
||||
$this->assertEquals('NNTmux installation completed successfully', $message, 'Test Failed');
|
||||
$this->assertTrue(true, 'NNTmux installation completed successfully');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user