Changeset 60250
- Timestamp:
- 05/26/2025 11:21:48 AM (4 months ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/e2e/specs/install.test.js
r58430 r60250 59 59 await page.getByLabel( 'Password', { exact: true } ).fill( 'password' ); 60 60 await page.getByLabel( /Confirm use of weak password/ ).check() 61 await page.getByLabel( 'Your Email' ).fill( 'test@ test.com' );61 await page.getByLabel( 'Your Email' ).fill( 'test@example.com' ); 62 62 63 63 await page.getByRole( 'button', { name: 'Install WordPress' } ).click(); -
trunk/tests/phpunit/tests/admin/wpPluginsListTable.php
r56070 r60250 58 58 'user_login' => 'test_wp_plugins_list_table', 59 59 'user_pass' => 'password', 60 'user_email' => 'testadmin@ test.com',60 'user_email' => 'testadmin@example.com', 61 61 ) 62 62 ); -
trunk/tests/phpunit/tests/comment.php
r56936 r60250 22 22 'user_login' => 'test_wp_user_get', 23 23 'user_pass' => 'password', 24 'user_email' => ' test@test.com',24 'user_email' => 'author@example.com', 25 25 ) 26 26 ); … … 96 96 'comment_author' => 'Author', 97 97 'comment_author_url' => 'http://example.localhost/', 98 'comment_author_email' => ' test@test.com',98 'comment_author_email' => 'author@example.com', 99 99 'user_id' => $admin_id_1, 100 100 'comment_content' => 'This is a comment', … … 109 109 'user_login' => 'test_wp_admin_get', 110 110 'user_pass' => 'password', 111 'user_email' => 'testadmin@ test.com',111 'user_email' => 'testadmin@example.com', 112 112 ) 113 113 ); … … 140 140 'comment_author' => 'Author', 141 141 'comment_author_url' => 'http://example.localhost/', 142 'comment_author_email' => ' test@test.com',142 'comment_author_email' => 'author@example.com', 143 143 'user_id' => self::$user_id, 144 144 'comment_content' => '<a href="http://example.localhost/something.html">click</a>', … … 153 153 'user_login' => 'test_wp_admin_get', 154 154 'user_pass' => 'password', 155 'user_email' => 'testadmin@ test.com',155 'user_email' => 'testadmin@example.com', 156 156 ) 157 157 ); … … 1446 1446 wp_set_comment_status( $comment, 'approve' ); 1447 1447 1448 // Check to see if a notification email was sent to the post author ` test@test.com`.1448 // Check to see if a notification email was sent to the post author `author@example.com`. 1449 1449 if ( isset( $GLOBALS['phpmailer']->mock_sent ) 1450 1450 && ! empty( $GLOBALS['phpmailer']->mock_sent ) 1451 && ' test@test.com' === $GLOBALS['phpmailer']->mock_sent[0]['to'][0][0]1451 && 'author@example.com' === $GLOBALS['phpmailer']->mock_sent[0]['to'][0][0] 1452 1452 ) { 1453 1453 $email_sent_when_comment_approved = true; … … 1468 1468 wp_new_comment( $data ); 1469 1469 1470 // Check to see if a notification email was sent to the post author ` test@test.com`.1470 // Check to see if a notification email was sent to the post author `author@example.com`. 1471 1471 if ( isset( $GLOBALS['phpmailer']->mock_sent ) && 1472 1472 ! empty( $GLOBALS['phpmailer']->mock_sent ) && 1473 ' test@test.com' === $GLOBALS['phpmailer']->mock_sent[0]['to'][0][0] ) {1473 'author@example.com' === $GLOBALS['phpmailer']->mock_sent[0]['to'][0][0] ) { 1474 1474 $email_sent_when_comment_added = true; 1475 1475 reset_phpmailer_instance(); -
trunk/tests/phpunit/tests/user.php
r59633 r60250 50 50 self::$editor_id = $factory->user->create( 51 51 array( 52 'user_email' => 'test@ test.com',52 'user_email' => 'test@example.com', 53 53 'role' => 'editor', 54 54 ) … … 821 821 public function test_validate_username_string() { 822 822 $this->assertTrue( validate_username( 'johndoe' ) ); 823 $this->assertTrue( validate_username( 'test@ test.com' ) );823 $this->assertTrue( validate_username( 'test@example.com' ) ); 824 824 } 825 825 … … 1036 1036 array( 1037 1037 'user_login' => 'test', 1038 'user_email' => ' test@example.com',1038 'user_email' => 'urltest@example.com', 1039 1039 'user_pass' => 'password', 1040 1040 'user_url' => $user_url, … … 1257 1257 $userdata = array( 1258 1258 'ID' => self::$editor_id, 1259 'user_email' => 'test@ TEST.com',1259 'user_email' => 'test@EXAMPLE.com', 1260 1260 ); 1261 1261 $update = wp_update_user( $userdata ); … … 1271 1271 $userdata = array( 1272 1272 'ID' => self::$editor_id, 1273 'user_email' => 'test2@ test.com',1273 'user_email' => 'test2@example.com', 1274 1274 ); 1275 1275 $update = wp_update_user( $userdata ); … … 1280 1280 // Verify that the email address has been updated. 1281 1281 $user = get_userdata( self::$editor_id ); 1282 $this->assertSame( $user->user_email, 'test2@ test.com' );1282 $this->assertSame( $user->user_email, 'test2@example.com' ); 1283 1283 } 1284 1284 … … 1979 1979 */ 1980 1980 public function test_wp_user_personal_data_exporter_no_user() { 1981 $actual = wp_user_personal_data_exporter( 'not-a-user-email@ test.com' );1981 $actual = wp_user_personal_data_exporter( 'not-a-user-email@example.com' ); 1982 1982 1983 1983 $expected = array( -
trunk/tools/local-env/scripts/install.js
r59769 r60250 43 43 wp_cli( 'db reset --yes' ); 44 44 const installCommand = process.env.LOCAL_MULTISITE === 'true' ? 'multisite-install' : 'install'; 45 wp_cli( `core ${ installCommand } --title="WordPress Develop" --admin_user=admin --admin_password=password --admin_email=test@ test.com --skip-email --url=http://localhost:${process.env.LOCAL_PORT}` );45 wp_cli( `core ${ installCommand } --title="WordPress Develop" --admin_user=admin --admin_password=password --admin_email=test@example.com --skip-email --url=http://localhost:${process.env.LOCAL_PORT}` ); 46 46 } ); 47 47
Note: See TracChangeset
for help on using the changeset viewer.