In the attached patch I fixed problems with running simpletest module on latest core after code freeze
Changes:
drupal_reporter.php
- new way of creating forms new function outside of the class returns $form
- removed & when calling writeToLastField because of Call-time pass-by-reference has been deprecated warning
drupal_test_case.php
- setFieldByName call is changed fields on forms now don't use edit[fieldname] anymore
simpletest.module
- in t function calls when links are inserted I put ! instead of %
- and because the forms dont have edit[] anymore $edit = $_POST instead of $edit = $_POST['edit']

Please review the code.

CommentFileSizeAuthor
simpletest.patch4.3 KBRok Žlender

Comments

Rok Žlender’s picture

Priority: Normal » Critical

Should be critical

Thomas Ilsche’s picture

havent yet been able to test but patch looks good.

Thomas Ilsche’s picture

Status: Needs review » Reviewed & tested by the community

tested, works

Rok Žlender’s picture

Status: Reviewed & tested by the community » Fixed

comitted thanks Thomas

Anonymous’s picture

Status: Fixed » Closed (fixed)