Skip to:
Content

bbPress.org

Changeset 6374


Ignore:
Timestamp:
03/10/2017 08:54:48 AM (9 years ago)
Author:
netweb
Message:

Build/Test Tools: Revert unintended unit test change included in commit [6373]

Antiprops netweb.
See #3085, #2963.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/testcases/common/formatting.php

    r6373 r6374  
    135135        $this->assertEquals( $at_name_comma_final, bbp_make_clickable( $at_name_comma ) );
    136136
    137         // Don't link non-existent users
     137        // Don"t link non-existent users
    138138        $text = "Don't link @non @existent @users";
    139139        $this->assertSame( $text, bbp_make_clickable( $text ) );
     
    174174
    175175        // Multiples
    176         $at_name_in_mailto       = sprintf( "Send messages to @%s, @%s.", $name_1, $name_2 );
     176        $at_name_in_mailto       = sprintf( "Send messages to @%s, @%s.", $link_1, $link_2 );
    177177        $at_name_in_mailto_final = sprintf( "Send messages to @%s, @%s.", $link_1, $link_2 );
    178178        $this->assertEquals( $at_name_in_mailto_final, bbp_make_clickable( $at_name_in_mailto ) );
    179 
    180         // Two names separated by `&`
    181         $at_names_inbetween_ampersand       = sprintf( "Oh hi @%s & @%s.", $name_1, $name_2 );
    182         $at_names_inbetween_ampersand_final = sprintf( "Oh hi @%s & @%s.", $link_1, $link_2 );
    183         $this->assertEquals( $at_names_inbetween_ampersand_final, bbp_make_clickable( $at_names_inbetween_ampersand ) );
    184 
    185         // Two names separated by `and`
    186         $at_names_inbetween_and       = sprintf( "Oh hi @%s and @%s.", $name_1, $name_2 );
    187         $at_names_inbetween_and_final = sprintf( "Oh hi @%s and @%s.", $link_1, $link_2 );
    188         $this->assertEquals( $at_names_inbetween_and_final, bbp_make_clickable( $at_names_inbetween_and ) );
    189179
    190180        remove_filter( 'bbp_make_mentions_clickable_classes', '__return_empty_array' );
     
    223213
    224214        // Multiples
    225         $at_name_in_mailto       = sprintf( "Send messages to @%s, @non1, @%s, @non2.", $name_1, $name_2 );
     215        $at_name_in_mailto       = sprintf( "Send messages to @%s, @non1, @%s, @non2.", $link_1, $link_2 );
    226216        $at_name_in_mailto_final = sprintf( "Send messages to @%s, @non1, @%s, @non2.", $link_1, $link_2 );
    227217        $this->assertEquals( $at_name_in_mailto_final, bbp_make_clickable( $at_name_in_mailto ) );
Note: See TracChangeset for help on using the changeset viewer.