<?php

namespace Tests\Feature;

use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;

class ExampleTest extends TestCase
{
    use RefreshDatabase;

    /**
     * 首页与前台关键页面正常渲染。
     */
    public function test_home_page_returns_successful_response(): void
    {
        $this->seed();

        $this->get('/')->assertStatus(200);
        $this->get('/archives.shtml')->assertStatus(200);
        $this->get('/rss.xml')->assertStatus(200);
        $this->get('/sitemap.xml')->assertStatus(200);
        $this->get('/robots.txt')->assertStatus(200);
    }
}
