The Simple Test scripts fails for 6.x-alpha3. Attached is a patch to the test script to fix it.
All of theme were in the testLinkContents function of test/admin_menu.text
One line was searching for a complete div tag.
$this->assertRaw('<div id="admin-menu">', t('Administration menu is displayed.'));
It didn't take into account any css classes or other div tags.
The other 4 failures were improperly formatted URL's. I just used the url function.
Cheers,
Neil
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | admin_menu-567618.patch | 5.18 KB | neclimdul |
| #1 | admin_menu-567618.patch | 5.02 KB | indytechcook |
| admin_menu.test.patch | 1.7 KB | indytechcook |
Comments
Comment #1
indytechcook commentedupdated patch to move all '>' from checks for admin-menu div.
Comment #2
dave reidTests pass on the latest DRUPAL-6--3 code. Marking as fixed.
Comment #4
neclimdulBackported to 1.x since its relevant. Works for me.
Comment #5
sunThanks for reporting, reviewing, and testing! Committed to 1.x.
A new development snapshot will be available within the next 12 hours. This improvement will be available in the next official release.