feat(KAN-46): rebuild reusable project template management

This commit is contained in:
2026-09-16 07:01:03 +00:00
parent 5a10c85e61
commit 0941745883
12 changed files with 1322 additions and 500 deletions
@@ -0,0 +1,18 @@
<?php
namespace Tests\Feature\Projects;
use Symfony\Component\Process\Process;
use Tests\TestCase;
class ProjectTemplatesUiTest extends TestCase
{
public function test_template_pages_show_reusable_configuration_and_protect_linked_projects(): void
{
$process = new Process(['node', 'tests/Fixtures/project-templates.mjs'], base_path());
$process->setTimeout(60);
$process->run();
$this->assertTrue($process->isSuccessful(), $process->getOutput().$process->getErrorOutput());
$this->assertStringContainsString('Project template checks passed.', $process->getOutput());
}
}