This commit is contained in:
Saeed Vaziry
2024-03-24 09:56:34 +01:00
committed by GitHub
parent 884f18db63
commit 4d051330d6
1055 changed files with 14493 additions and 20278 deletions

View File

@ -2,10 +2,8 @@
namespace Tests\Feature;
use App\Http\Livewire\ServerLogs\LogsList;
use App\Models\ServerLog;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Livewire\Livewire;
use Tests\TestCase;
class LogsTest extends TestCase
@ -22,9 +20,6 @@ public function test_see_logs()
]);
$this->get(route('servers.logs', $this->server))
->assertOk();
Livewire::test(LogsList::class, ['server' => $this->server])
->assertSeeText($log->type);
}
}