XML Sitemap Unit Tests #29
Comments
The last few failed tests relate to the regenerate flag during a cron run: Issue #32. However, testSaveLink() includes a lot of failures also related to the regenerate flag not being reset. The curious thing is that if you place an assertion before the first link is saved,
the first assertion passes but the second assertion fails. Leaving the test as it was...
causes the assertion after the link is saved to pass. Wahht? How can asserting if a variable is set to TRUE interfere with the second assertion? This makes me think something is screwy with accessing variables during tests runs...or the process after a link is saved takes too long for the assertion to pass...don't understand it. The good news is that while manually testing adding a page, unpublishing, and republishing it, the sitemap is set to be regenerated. |
92 passes, 11 fails, 1 exception, and 5 debug messages
All seems to relate to Regenerate flag. I had issues with that variable before so this doesn't surprise me.
The text was updated successfully, but these errors were encountered: