Files
KanbanGit/tests/Feature/Projects/ProjectAccessUiTest.php

20 lines
623 B
PHP

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