<?php

it('wires root cron entrypoint to the full cron scheduler with queue worker tasks', function (): void {
    $content = file_get_contents(app_path('cron.php'));

    expect($content)->not->toBeFalse();
    expect($content)->toContain("require_once __DIR__ . '/vendor/autoload.php';");
    expect($content)->toContain("require_once __DIR__ . '/config.php';");
    expect($content)->toContain("require_once __DIR__ . '/cron/Cron.php';");
    expect($content)->toContain("Cron scheduler failed:");
});
