Initial Commit

This commit is contained in:
Mark Gregory
2026-08-15 22:32:05 +01:00
parent 37d477081d
commit ed49ffe949
2 changed files with 2 additions and 2 deletions
@@ -39,6 +39,7 @@ final class TenantThemeResolverTest extends TestCase
$this->assertSame('backend', app(TenantThemeResolver::class)->context());
}
public function test_authentication_requests_use_backend_context(): void
{
foreach (['/login', '/register', '/forgot-password', '/reset-password/token', '/user/confirm-password', '/two-factor-challenge', '/email/verify'] as $uri) {
@@ -48,5 +49,4 @@ final class TenantThemeResolverTest extends TestCase
$this->assertSame('backend', app(TenantThemeResolver::class)->context(), $uri);
}
}
}
@@ -29,6 +29,7 @@ final class WelcomeThemeViewTest extends TestCase
view('welcome')->getPath(),
);
}
public function test_application_views_exist_only_inside_themes(): void
{
$this->assertDirectoryDoesNotExist(resource_path('views'));
@@ -41,5 +42,4 @@ final class WelcomeThemeViewTest extends TestCase
$this->assertFileExists(resource_path('themes/backend/assets/css/app.css'));
$this->assertFileExists(resource_path('themes/backend/assets/js/passkeys.js'));
}
}