Right now, if you attempt to fill out a form that doesn't exist on a page, you get:

Found the requested form - FAIL

It'd be nice if it was something like:

Found the requested form at node/add/blah - FAIL

so you have an idea where to start debugging.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

webchick’s picture

webchick’s picture

Component: base system » simpletest.module
boombatower’s picture

Status: Needs review » Reviewed & tested by the community

Broke the block test by removing the permissions from the test user and the fail statement displayed correctly.

This would be very useful. Everytime I saw that message I had to look at context and try and figure out what drupalPost call was causing it. This patch would make that much easier.

catch’s picture

Already RTBC but +1 from me. Very nice change.

Dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD. Thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.