Files
KanbanGit/tests/Feature/Projects/ProjectTicketMetadataSettingsUiTest.php
T

19 lines
642 B
PHP

<?php
namespace Tests\Feature\Projects;
use Symfony\Component\Process\Process;
use Tests\TestCase;
class ProjectTicketMetadataSettingsUiTest extends TestCase
{
public function test_metadata_settings_show_configured_values_and_deletion_protection(): void
{
$process = new Process(['node', 'tests/Fixtures/project-metadata-settings.mjs'], base_path());
$process->setTimeout(60);
$process->run();
$this->assertTrue($process->isSuccessful(), $process->getOutput().$process->getErrorOutput());
$this->assertStringContainsString('Metadata settings checks passed.', $process->getOutput());
}
}