Changeset 12393 for trunk/tests/phpunit/testcases/groups/activity.php
- Timestamp:
- 05/03/2019 05:27:08 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/groups/activity.php
r12132 r12393 122 122 $this->assertNotEmpty( $a['activities'] ); 123 123 124 $expected = sprintf( __( '%s changed the name of the group %s from "%s" to "%s"', 'buddypress' ), bp_core_get_userlink( $u ), '<a href="' . bp_get_group_permalink( $group ) . '">Foo</a>', $group->name, 'Foo' );124 $expected = sprintf( esc_html__( '%s changed the name of the group %s from "%s" to "%s"', 'buddypress' ), bp_core_get_userlink( $u ), '<a href="' . bp_get_group_permalink( $group ) . '">Foo</a>', $group->name, 'Foo' ); 125 125 $this->assertSame( $expected, $a['activities'][0]->action ); 126 126 … … 154 154 $this->assertNotEmpty( $a['activities'] ); 155 155 156 $expected = sprintf( __( '%s changed the description of the group %s from "%s" to "%s"', 'buddypress' ), bp_core_get_userlink( $u ), '<a href="' . bp_get_group_permalink( $group ) . '">' . $group->name . '</a>', $group->description, 'Bar' );156 $expected = sprintf( esc_html__( '%s changed the description of the group %s from "%s" to "%s"', 'buddypress' ), bp_core_get_userlink( $u ), '<a href="' . bp_get_group_permalink( $group ) . '">' . $group->name . '</a>', $group->description, 'Bar' ); 157 157 $this->assertSame( $expected, $a['activities'][0]->action ); 158 158
Note: See TracChangeset
for help on using the changeset viewer.