Changeset 58097 for trunk/tests/phpunit/tests/functions/wpNonceAys.php
- Timestamp:
- 05/04/2024 07:23:31 PM (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/functions/wpNonceAys.php
r56971 r58097 28 28 public function test_wp_nonce_ays_log_out() { 29 29 $this->expectException( 'WPDieException' ); 30 $this->expectExceptionMessageMatches( '#You are attempting to log out of Test Blog</p><p>Do you really want to <a href="http:// example\.org/wp-login\.php\?action=logout&_wpnonce=.{10}">log out</a>\?#m' );30 $this->expectExceptionMessageMatches( '#You are attempting to log out of Test Blog</p><p>Do you really want to <a href="http://' . WP_TESTS_DOMAIN . '/wp-login\.php\?action=logout&_wpnonce=.{10}">log out</a>\?#m' ); 31 31 $this->expectExceptionCode( 403 ); 32 32
Note: See TracChangeset
for help on using the changeset viewer.