drupalPost throws exception in new browser
boombatower - March 24, 2008 - 02:11
| Project: | SimpleTest |
| Version: | 7.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Unexpected PHP error [Undefined variable: submit_matches] severity [E_NOTICE] in [/home/jimmy/software/php/simpletest/drupal_test_case.php line 567]
#1
In case this file is changed, here is the line in question:
<?php$this->assertTrue($submit_matches, t('Found the @submit button', array('@submit' => $submit)));
?>
#2
Added:
<?php$submit_matches = FALSE;
?>
to
drupalPostper instructions from chx.Committed.
#3
Automatically closed -- issue fixed for two weeks with no activity.