Make Helpdesk email updates explicit
This commit is contained in:
@@ -6,9 +6,10 @@ redMCP work together on real Helpdesk issues.
|
||||
The test creates one inbound Helpdesk email for `fud-helpdesk`, triggers
|
||||
Helpdesk mail import, fetches the created issue through
|
||||
`RedMCP\RedmineClient::issueWithHelpdesk()`, performs a non-Helpdesk CRUD
|
||||
control in `fud-nohelpdesk`, sends a Helpdesk reply through the same mailer path
|
||||
used by the UI's "Send note" checkbox, verifies the outbound message arrives in
|
||||
Mailpit, and closes the Helpdesk issue.
|
||||
control in `fud-nohelpdesk`, sends a Helpdesk reply with
|
||||
`updateIssue(..., ['send_helpdesk_email' => true])`, verifies the outbound
|
||||
message arrives in Mailpit, verifies a default `updateIssue()` does not send
|
||||
mail, and closes the Helpdesk issue.
|
||||
|
||||
## Run
|
||||
|
||||
@@ -37,6 +38,7 @@ The final output should include:
|
||||
|
||||
```text
|
||||
[OK] redMCP issueWithHelpdesk returned ticket and message context
|
||||
[OK] redMCP default issue update did not send Helpdesk email
|
||||
[OK] redMCP non-Helpdesk CRUD control passed
|
||||
[OK] Mailpit received outbound Helpdesk/Redmine mail containing the reply token
|
||||
[OK] Closed smoke-test Helpdesk issue
|
||||
|
||||
Reference in New Issue
Block a user