Changeset 50610
- Timestamp:
- 03/27/2021 01:32:55 PM (4 years ago)
- Location:
- trunk/tests/phpunit/tests
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/cache.php
r49857 r50610 325 325 $this->assertSame( $val2, wp_cache_get( $key ) ); 326 326 327 // Non-exist ant key should fail.327 // Non-existent key should fail. 328 328 $this->assertFalse( wp_cache_replace( $fake_key, $val1 ) ); 329 329 -
trunk/tests/phpunit/tests/cron.php
r50394 r50610 246 246 $unrelated_hook = __FUNCTION__ . '_two'; 247 247 248 // Attempt to clear schedule on non-exist ant hook.248 // Attempt to clear schedule on non-existent hook. 249 249 $unschedule_hook = wp_unschedule_hook( $hook ); 250 250 $this->assertSame( 0, $unschedule_hook ); -
trunk/tests/phpunit/tests/mail.php
r49844 r50610 172 172 173 173 // Non-fatal errors. 174 $this->assertTrue( wp_mail( 'valid@address.com', 'subject', 'body', "Cc: invalid-address\nBcc: @invalid.address", ABSPATH . '/non-exist ant-file.html' ) );174 $this->assertTrue( wp_mail( 'valid@address.com', 'subject', 'body', "Cc: invalid-address\nBcc: @invalid.address", ABSPATH . '/non-existent-file.html' ) ); 175 175 176 176 // Fatal errors. -
trunk/tests/phpunit/tests/rest-api/rest-post-meta-fields.php
r50567 r50610 1054 1054 1055 1055 /** 1056 * Ensure deleting non-exist ant meta data behaves gracefully.1056 * Ensure deleting non-existent meta data behaves gracefully. 1057 1057 * 1058 1058 * @ticket 52787
Note: See TracChangeset
for help on using the changeset viewer.