I added drupalGetNodeByTitle function to drupal_web_test_case.php (patch attached).

NodeLoadMultipleUnitTest and NodeRSSContentTestCase are not applicable for D6 in my opinion so i commented them out.

I have a few problems related to D7 => D6 conversion:
1. In NodePostSettingsTestCase the form field 'node_submitted' in 'admin/build/node-type/page' (D7) is the same as 'node_options[status]' in 'admin/content/node-type/page' (D6) ? If not then what is ?

2.I don't think in D6 we have a permission equivalent for 'bypass node access' (i don't think it is the same as D6's 'administer nodes'). For '$web_user = $this->drupalCreateUser(array('bypass node access'));' I get Invalid permission bypass node access.

CommentFileSizeAuthor
drupal_get_node_by_title.patch660 bytesandreiashu
node.test22.92 KBandreiashu

Comments

andreiashu’s picture

Status: Needs work » Postponed (maintainer needs more info)

Set to "needs more info". I need your suggestions, after that I'll try to finish this.

boombatower’s picture

#2 seems to make sense and I would remove the test/comment.

The overriding of the drupalGetNodeByTitle() makes sense.

I'll have to look at #1.

boombatower’s picture

Status: Postponed (maintainer needs more info) » Active

The node_submitted field appears to be new...so comment out that test as well.

boombatower’s picture

Status: Active » Closed (won't fix)

Please re-open if you have further interest in porting the test.