Update bootstrapping and create Yenc service and facade

This commit is contained in:
DariusIII
2025-12-29 13:53:22 +01:00
parent c8b0c4b744
commit 3f81661278
59 changed files with 1272 additions and 2722 deletions
+9 -7
View File
@@ -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');
}
}