mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-app.git
synced 2025-12-15 12:16:47 +00:00
🛠️ Add services index and landing page components with dynamic links and new Polish translations
This commit is contained in:
15
tests/Feature/Livewire/Services/IndexTest.php
Normal file
15
tests/Feature/Livewire/Services/IndexTest.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
use App\Models\SelfHostedService;
|
||||
use Livewire\Volt\Volt;
|
||||
|
||||
it('renders services index', function () {
|
||||
SelfHostedService::factory()->count(2)->create();
|
||||
|
||||
$component = Volt::test('services.index');
|
||||
|
||||
$component->assertStatus(200)
|
||||
->assertSee('Self Hosted Services');
|
||||
});
|
||||
Reference in New Issue
Block a user