Initial Commit
This commit is contained in:
@@ -27,6 +27,15 @@ final class ThemeManifestTest extends TestCase
|
||||
parent::tearDown();
|
||||
}
|
||||
|
||||
public function test_bundled_default_themes_have_valid_manifests(): void
|
||||
{
|
||||
foreach (['backend', 'frontend'] as $key) {
|
||||
$theme = app(Loader::class)->fromPath(resource_path("themes/{$key}"));
|
||||
|
||||
$this->assertSame($key, $theme->key());
|
||||
}
|
||||
}
|
||||
|
||||
public function test_manifest_is_normalised(): void
|
||||
{
|
||||
$path = $this->themesPath.'/sample';
|
||||
|
||||
Reference in New Issue
Block a user