Make WordPress Core


Ignore:
Timestamp:
10/26/2016 01:23:24 AM (8 years ago)
Author:
johnbillion
Message:

Build/Test Tools: Continue eliminating randomness in tests.

See #37371

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/xmlrpc/wp/editProfile.php

    r25002 r38938  
    4242    function test_ignore_password_change() {
    4343        $this->make_user_by_role( 'author' );
    44         $new_pass = rand_str();
     44        $new_pass = 'newpassword';
    4545        $new_data = array( 'password' => $new_pass );
    4646
     
    5757    function test_ignore_email_change() {
    5858        $editor_id = $this->make_user_by_role( 'editor' );
    59         $new_email = rand_str() . '@example.com';
     59        $new_email = 'notaneditor@example.com';
    6060        $new_data = array( 'email' => $new_email );
    6161
Note: See TracChangeset for help on using the changeset viewer.