Changeset 51565 for trunk/tests/phpunit/tests/ajax/Response.php
- Timestamp:
- 08/06/2021 09:52:06 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/ajax/Response.php
r51404 r51565 101 101 // Check the XML tag. 102 102 $contents = ob_get_clean(); 103 $this->assert RegExp( '/<\?xml\s+version=\'1.0\'\s+encoding=\'' . preg_quote( get_option( 'blog_charset' ) ) . '\'\s+standalone=\'yes\'\?>/', $contents );103 $this->assertMatchesRegularExpression( '/<\?xml\s+version=\'1.0\'\s+encoding=\'' . preg_quote( get_option( 'blog_charset' ) ) . '\'\s+standalone=\'yes\'\?>/', $contents ); 104 104 } 105 105 }
Note: See TracChangeset
for help on using the changeset viewer.