20 lines
649 B
PHP
20 lines
649 B
PHP
<?php
|
|
|
|
namespace Tests\Feature\Projects;
|
|
|
|
use Symfony\Component\Process\Process;
|
|
use Tests\TestCase;
|
|
|
|
class ProjectNotificationSettingsUiTest extends TestCase
|
|
{
|
|
public function test_notification_settings_render_actions_and_serialize_filter_values(): void
|
|
{
|
|
$process = new Process(['node', 'tests/Fixtures/project-notification-settings.mjs'], base_path());
|
|
$process->setTimeout(60);
|
|
$process->run();
|
|
|
|
$this->assertTrue($process->isSuccessful(), $process->getOutput().$process->getErrorOutput());
|
|
$this->assertStringContainsString('Notification settings checks passed.', $process->getOutput());
|
|
}
|
|
}
|