Skip to content

test(scheduler): Add tests for TaskStatusEmail.php #290

@usernane

Description

@usernane

File

Scheduler/TaskStatusEmail.php

Current Coverage

0% (0/63)

Scenarios to Cover

  • Email is built correctly on task success
  • Email is built correctly on task failure
  • Email contains task name, execution time, and output
  • Sending is skipped when no SMTP config is set
  • HTML structure of the email is valid

Notes

Notifies admins of task execution results. Completely untested.

Metadata

Metadata

Assignees

No one assigned

    Labels

    testingTest coverage tasks

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions