Initial Commit
This commit is contained in:
@@ -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'));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user