Changeset 52075
- Timestamp:
- 11/09/2021 04:19:05 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-users-controller.php
r52069 r52075 1446 1446 $this->assertSame( 'Sorry, that username already exists!', $error['message'] ); 1447 1447 } else { 1448 $this->assertSame( 'Sorry, that email address is already used!', $error['message'] ); 1448 $expected = '<strong>Error:</strong> This email address is already registered. ' . 1449 '<a href="http://rest.wordpress.org/wp-login.php">Log in</a> with ' . 1450 'this address or choose another one.'; 1451 $this->assertSame( $expected, $error['message'] ); 1449 1452 } 1450 1453 }
Note: See TracChangeset
for help on using the changeset viewer.