<?php

it('renders the new customer welcome template without unselected user access or leaked output', function (): void {
    $result = run_legacy_script('tests/auth/NewCustomerEmailTemplateTest.php');

    expect($result['exitCode'])->toBe(0, $result['output']);
});
