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.
| Comment | File | Size | Author |
|---|---|---|---|
| simpletest.patch | 4.3 KB | Rok Žlender |
Comments
Comment #1
Rok Žlender commentedShould be critical
Comment #2
Thomas Ilsche commentedhavent yet been able to test but patch looks good.
Comment #3
Thomas Ilsche commentedtested, works
Comment #4
Rok Žlender commentedcomitted thanks Thomas
Comment #5
(not verified) commented