Skip to:
Content

BuddyPress.org

Changeset 10382


Ignore:
Timestamp:
11/25/2015 09:55:44 PM (4 years ago)
Author:
r-a-y
Message:

Tests: Update members search pagination test.

Forgot to update the search parameter in the test!

See #6745.

Anti-props r-a-y.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/testcases/members/template.php

    r9819 r10382  
    4343        bp_has_members( $template_args );
    4444
    45         preg_match( '/&s=(.*)\'/', $members_template->pag_links, $matches );
     45        preg_match( '/&members_search=(.*)\'/', $members_template->pag_links, $matches );
    4646
    4747        $this->assertEquals( urldecode( $matches[1] ), urldecode( $template_args['search_terms'] ) );
Note: See TracChangeset for help on using the changeset viewer.