Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/24/2016 02:06:35 PM (8 years ago)
Author:
djpaul
Message:

Fix tests for Activity mentions format change in r10958

Anti-props DJPaul :(

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/testcases/activity/filters.php

    r9819 r10959  
    2727        // mentions normal text should be replaced
    2828        $at_name_in_text = sprintf( 'Hello @%s', $u1_mention_name );
    29         $at_name_in_text_final = "Hello <a href='" . $u1_domain . "' rel='nofollow'>@$u1_mention_name</a>";
     29        $at_name_in_text_final = "Hello <a class='bp-suggestions-mention' href='" . $u1_domain . "' rel='nofollow'>@$u1_mention_name</a>";
    3030        $this->assertEquals( $at_name_in_text_final, bp_activity_at_name_filter( $at_name_in_text ) );
    3131
Note: See TracChangeset for help on using the changeset viewer.