migrating tests (Application, Console and Cronjob)

This commit is contained in:
Saeed Vaziry
2024-10-08 22:15:50 +02:00
parent 974af959f1
commit 0da21f40bd
39 changed files with 254 additions and 2684 deletions

View File

@ -3,6 +3,7 @@
namespace Tests\Feature;
use App\Facades\SSH;
use App\Web\Pages\Servers\Console\Index;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;
@ -14,7 +15,7 @@ public function test_see_console(): void
{
$this->actingAs($this->user);
$this->get(route('servers.console', $this->server))
$this->get(Index::getUrl(['server' => $this->server]))
->assertSuccessful()
->assertSeeText('Headless Console');
}