I've had to comment this out to prevent a failing test:
// Go to node and verify creation time. Due to the breadcrumb, this is the
// second link with the label on the page.
// WTF: no idea why this is broken. Verbose output shows we are missing
// the node link. Testing manually shows all fine !?!?!
//$this->clickLink($title, 1);
The problem seems to be that the edition node is created without a title at all!
Yet all works fine manually. Could it be a problem with token module in some way, as that is what sets the edition node title?
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1567198.simplenews_scheduler.test-new-edition-no-title.patch | 1.37 KB | joachim |
Comments
Comment #1
joachim commentedTurns out it's just that node_load() needs a clear of its internal cache; otherwise, hook_nodeapi() doesn't get invoked in module code and hence the new edition builder doesn't have the scheduler data to set the title.
Patch is on top of #1364784: Monthly Interval varies by a few days, hence postponed until that is committed (soon!).
Comment #2
joachim commented