19 lines
413 B
PHP
19 lines
413 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use App\Models\SiteSetting;
|
|
|
|
it('renders the public home page', function (): void {
|
|
$settings = SiteSetting::instance();
|
|
|
|
$this->visit('/')
|
|
->assertSee($settings->hero_title)
|
|
->assertSee($settings->brand_name);
|
|
});
|
|
|
|
it('renders the admin login page', function (): void {
|
|
$this->visit('/admin/login')
|
|
->assertVisible('input[type="email"]');
|
|
});
|