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
Description

Unexpected PHP error [Undefined variable: submit_matches] severity [E_NOTICE] in [/home/jimmy/software/php/simpletest/drupal_test_case.php line 567]

#1

boombatower - March 24, 2008 - 02:12

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

boombatower - March 24, 2008 - 20:52
Status:active» fixed

Added:

<?php
$submit_matches
= FALSE;
?>

to drupalPost per instructions from chx.

Committed.

#3

Anonymous (not verified) - April 7, 2008 - 20:53
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.