More tests needed
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #1528832. --> Reported by: [jhodgdon](https://www.drupal.org/user/155601) >>> <p>In the course of the API port to Drupal 7, I came across a couple of areas of functionality that are not hit by the automated tests. Tests needed to be added for these items:</p> <p>** Comment functionality:<br> - Make a couple of comments on a doc page. Verify that after reparse, the comments are still there.<br> - Change the comment settings to closed. Add a new branch or maybe un-exclude the excluded directory in the sample branch. Verify that for the new doc pages, comments are closed, but the old ones are still open.<br> - Test some of the other comment settings, if possible (threading, oldest/newest first, etc.).</p> <p>** Node access functionality:<br> - The module is set up so that the API nodes are supposed to be hidden. Do some kind of a node query and verify that this is true. Also verify that regular nodes can be seen by a user with ordinary "access content" privs (i.e., we haven't screwed up regular node access permissions).</p>
issue