22 lines
563 B
PHP
22 lines
563 B
PHP
<?php
|
|
|
|
namespace Modules\Stylist\Tests\Feature;
|
|
|
|
use Tests\TestCase;
|
|
|
|
final class WelcomeThemeViewTest extends TestCase
|
|
{
|
|
public function test_bundled_saasland_theme_view_namespace_is_registered(): void
|
|
{
|
|
$this->assertTrue(view()->exists('stylist-theme-saasland::home'));
|
|
}
|
|
|
|
public function test_home_route_renders_the_saasland_theme(): void
|
|
{
|
|
$this->get('/')
|
|
->assertOk()
|
|
->assertViewIs('stylist-theme-saasland::home')
|
|
->assertSee('Transform Your Business With Our SaaS Solution');
|
|
}
|
|
}
|