Hi all,
i created a file for sendmail() and now I want to create tests for this file. I thought I do the same as with a partial...
Tests partial:
function testCardTitleFilled() {
uid = createUUID();
result=_controller.includePartial(partial="/shared/_card-title", title=uid);
assert("FindNoCase(uid, result)");
}
When I try this for the partial I use for sendmail, the variables.local-Scope doesn't exists and for the mailing I needed the variables scope (without local).
How can I test the template I use for sendmail()?
Thanks for your support.
Michael