Changeset 13314 for trunk/tests/phpunit/testcases/core/functions.php
- Timestamp:
- 08/13/2022 08:58:51 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/core/functions.php
r13304 r13314 810 810 $link_color = 'style="color: ' . esc_attr( $appearance['highlight_color'] ) . ';'; 811 811 $result = bp_email_add_link_color_to_template( $content, 'template', 'add-content' ); 812 $this->assert Contains( $link_color, $result );812 $this->assertStringContainsString( $link_color, $result ); 813 813 814 814 $content = '<a href="http://example.com" style="display: block">example</a>'; 815 815 $link_color .= 'display: block'; 816 816 $result = bp_email_add_link_color_to_template( $content, 'template', 'add-content' ); 817 $this->assert Contains( $link_color, $result );817 $this->assertStringContainsString( $link_color, $result ); 818 818 } 819 819
Note: See TracChangeset
for help on using the changeset viewer.