Changeset 50284 for trunk/tests/phpunit/tests/robots.php
- Timestamp:
- 02/10/2021 01:24:24 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/robots.php
r50078 r50284 30 30 add_filter( 'wp_robots', array( $this, 'add_noindex_directive' ) ); 31 31 $output = get_echo( 'wp_robots' ); 32 $this->assert Equals( "<meta name='robots' content='noindex' />\n", $output );32 $this->assertSame( "<meta name='robots' content='noindex' />\n", $output ); 33 33 34 34 // Do not render robots meta tag when there are only false-y directives.
Note: See TracChangeset
for help on using the changeset viewer.