<?php

namespace Tests\Feature;

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

class PublicPagesTest extends TestCase
{
    use RefreshDatabase;

    protected function setUp(): void
    {
        parent::setUp();
        $this->seed();
    }

    public function test_home_page_loads(): void
    {
        $this->get(route('home'))->assertOk();
    }

    public function test_public_routes_load(): void
    {
        foreach (['about', 'classes', 'membership', 'gallery', 'contact', 'brand'] as $route) {
            $this->get(route($route))->assertOk();
        }
    }
}
