- Add `DepartmentLaneDynamicImageRouteTest` to verify dynamic image preview handling for studio lanes. - Introduce `selfserve_machine_signal` class to standardize signal normalization, recording, and gateway signal management workflows. - Add `selfserve_virtual_hardware` class to handle virtual hardware configurations, including gateway and binding management. - Enhance structure with auxiliary methods for payload normalization, workspace merging, and validation warnings.
17 lines
745 B
PHP
17 lines
745 B
PHP
<?php
|
|
|
|
it('registers dynamic image pre-render cron task and related helpers', function (): void {
|
|
$content = file_get_contents(app_path('cron/Cron.php'));
|
|
|
|
expect($content)->not->toBeFalse();
|
|
expect($content)->toContain('PreRenderDynamicImagesCron');
|
|
expect($content)->toContain("'interval' => 900");
|
|
expect($content)->toContain('collectDynamicImageTaskGroupsForLane');
|
|
expect($content)->toContain('buildDynamicImageVariantsForTaskGroup');
|
|
expect($content)->toContain('renderDynamicImageVariant');
|
|
expect($content)->toContain('mergeUniqueButtonValues');
|
|
expect($content)->toContain('normalizeButtonsInput');
|
|
expect($content)->toContain('dynamic_image:');
|
|
expect($content)->toContain('machine_1');
|
|
});
|