from app.modules.notifications.service import enqueue_email


def test_enqueue_email_returns_payload():
    data = enqueue_email("verify", "u@example.com", {"token": "123"})
    assert data["queued"] is True
    assert data["template"] == "verify"
