21 lines
491 B
PHP
21 lines
491 B
PHP
<?php
|
|
|
|
namespace Modules\Stylist\Tests\Feature;
|
|
|
|
use Tests\TestCase;
|
|
|
|
final class WelcomeThemeViewTest extends TestCase
|
|
{
|
|
public function test_bundled_welcome_theme_view_namespace_is_registered(): void
|
|
{
|
|
$this->assertTrue(view()->exists('stylist-theme-welcome::welcome'));
|
|
}
|
|
|
|
public function test_home_route_renders_the_welcome_theme(): void
|
|
{
|
|
$this->get('/')
|
|
->assertOk()
|
|
->assertViewIs('stylist-theme-welcome::welcome');
|
|
}
|
|
}
|