Files
KanbanGit/tests/Feature/Projects/ProjectTemplatesUiTest.php
T
Twyco 9a7ccb1160
CI/CD / preconditions (pull_request) Successful in 1s
CI/CD / test_and_check_app (pull_request) Successful in 19m8s
CI/CD / Publish immutable image (pull_request) Skipped
feat(KAN-46): rebuild reusable project template management
2026-09-15 22:42:53 +02:00

19 lines
626 B
PHP

<?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());
}
}