Skip to content

Fix send-email load-order smoke bootstrap for AbilityRegistration #2897

Description

@chubes4

Problem

After #2896 fixed the image-template smoke bootstrap, the full direct smoke loop advances to tests/abilities-send-email-load-order-smoke.php and fails for the analogous missing DataMachine\Abilities\AbilityRegistration collaborator.

Reproduction

for test in tests/*-smoke.php; do php "$test" || exit $?; done

The test reaches the send-email timing-state assertions then fatals:

Class "DataMachine\Abilities\AbilityRegistration" not found
inc/Abilities/Publish/SendEmailAbility.php:103

Expected

The load-order smoke loads or stubs AbilityRegistration before exercising SendEmailAbility and SendEmailQueuedAbility, as #2896 now does for ImageTemplateAbilities.

Actual

The smoke invokes the definitions builder without the required collaborator.

Discovered while validating #2895; this is separate from its recurring scheduler and retention changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions