Search Results
Article: Testing Multi Step Forms In Drupal 7
… tricky bit here was that when calling the drupalPost() method with a URL it first called drupalGet() on the URL before posting to the form. This basically meant that the form was … the drupalPost() method from running drupalGet() first just supply the URL parameter (the first parameter) of drupalPost() as NULL. This skips …
… {users} SET name = 'master', pass = MD5('wibble'), status = 1 WHERE uid = 1"); // Load the master user $admin_user = user_load(1); // Give it a pass_raw value so SimpleTest can login with it …
… To find the tests admin page go to Site Building > Testing or the URL /admin/build/testing, this page will show you the current tests …