Skip to content

Commit 490b42a

Browse files
committed
Update WordPress test expectations
Remove existing WordPress tests that now pass through the charset and field-validation changes from the expected error and failure lists. Keep the remaining unsupported cases explicit.
1 parent 1593fbe commit 490b42a

1 file changed

Lines changed: 0 additions & 22 deletions

File tree

‎.github/workflows/wp-tests-phpunit-run.js‎

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -12,42 +12,29 @@ const path = require( 'path' );
1212
const requiresNativeParserExtension = process.env.WP_SQLITE_REQUIRE_NATIVE_PARSER_EXTENSION === '1';
1313

1414
const expectedErrors = [
15-
'Tests_DB_Charset::test_invalid_characters_in_query',
1615
'Tests_DB_Charset::test_set_charset_changes_the_connection_collation',
1716
];
1817

1918
const expectedFailures = [
2019
'Tests_Admin_wpSiteHealth::test_object_cache_thresholds with data set #3',
21-
'Tests_Comment::test_wp_new_comment_respects_comment_field_lengths',
2220
'Tests_Comment::test_wp_update_comment',
2321
'Tests_Comment_CheckComment::test_should_return_false_when_comment_previously_approved_is_enabled_and_author_does_not_have_approved_comment',
2422
'Tests_Comment_CheckComment::test_should_return_true_when_comment_previously_approved_is_enabled_and_author_has_approved_comment',
2523
'Tests_Comment_CheckComment::test_should_return_false_when_comment_previously_approved_is_enabled_and_user_does_not_have_a_previously_approved_comment_with_any_email',
26-
'Tests_DB_Charset::test_get_column_charset with data set #0',
27-
'Tests_DB_Charset::test_get_column_charset with data set #1',
28-
'Tests_DB_Charset::test_get_column_charset with data set #2',
29-
'Tests_DB_Charset::test_get_column_charset with data set #3',
30-
'Tests_DB_Charset::test_get_column_charset with data set #4',
31-
'Tests_DB_Charset::test_get_column_charset with data set #5',
32-
'Tests_DB_Charset::test_get_column_charset with data set #6',
33-
'Tests_DB_Charset::test_get_column_charset with data set #7',
34-
'Tests_DB_Charset::test_get_column_charset_is_mysql_undefined with data set #0',
3524
'Tests_DB_Charset::test_get_column_charset_is_mysql_undefined with data set #1',
3625
'Tests_DB_Charset::test_get_column_charset_is_mysql_undefined with data set #2',
3726
'Tests_DB_Charset::test_get_column_charset_is_mysql_undefined with data set #3',
3827
'Tests_DB_Charset::test_get_column_charset_is_mysql_undefined with data set #4',
3928
'Tests_DB_Charset::test_get_column_charset_is_mysql_undefined with data set #5',
4029
'Tests_DB_Charset::test_get_column_charset_is_mysql_undefined with data set #6',
4130
'Tests_DB_Charset::test_get_column_charset_is_mysql_undefined with data set #7',
42-
'Tests_DB_Charset::test_get_column_charset_non_mysql with data set #0',
4331
'Tests_DB_Charset::test_get_column_charset_non_mysql with data set #1',
4432
'Tests_DB_Charset::test_get_column_charset_non_mysql with data set #2',
4533
'Tests_DB_Charset::test_get_column_charset_non_mysql with data set #3',
4634
'Tests_DB_Charset::test_get_column_charset_non_mysql with data set #4',
4735
'Tests_DB_Charset::test_get_column_charset_non_mysql with data set #5',
4836
'Tests_DB_Charset::test_get_column_charset_non_mysql with data set #6',
4937
'Tests_DB_Charset::test_get_column_charset_non_mysql with data set #7',
50-
'Tests_DB_Charset::test_process_field_charsets_on_nonexistent_table',
5138
'Tests_DB_Charset::test_strip_invalid_text with data set #21',
5239
'Tests_DB_Charset::test_strip_invalid_text with data set #22',
5340
'Tests_DB_Charset::test_strip_invalid_text with data set #23',
@@ -64,18 +51,9 @@ const expectedFailures = [
6451
'Tests_DB_Charset::test_strip_invalid_text with data set #39',
6552
'Tests_DB_Charset::test_strip_invalid_text with data set #40',
6653
'Tests_DB_Charset::test_strip_invalid_text with data set #41',
67-
'Tests_DB_Charset::test_strip_invalid_text_for_column_bails_if_ascii_input_too_long',
6854
'Tests_DB_dbDelta::test_spatial_indices',
69-
'Tests_DB::test_delete_value_too_long_for_field with data set "too long"',
70-
'Tests_DB::test_insert_value_too_long_for_field with data set "too long"',
7155
'Tests_DB::test_mysqli_flush_sync',
72-
'Tests_DB::test_pre_get_col_charset_filter',
73-
'Tests_DB::test_process_fields_on_nonexistent_table',
74-
'Tests_DB::test_process_fields_value_too_long_for_field with data set "too long"',
75-
'Tests_DB::test_query_value_contains_invalid_chars',
76-
'Tests_DB::test_replace_value_too_long_for_field with data set "too long"',
7756
'Tests_DB::test_replace',
78-
'Tests_DB::test_update_value_too_long_for_field with data set "too long"',
7957
'Tests_Menu_Walker_Nav_Menu::test_start_el_with_empty_attributes with data set #1',
8058
'Tests_Menu_Walker_Nav_Menu::test_start_el_with_empty_attributes with data set #2',
8159
'Tests_Menu_Walker_Nav_Menu::test_start_el_with_empty_attributes with data set #3',

0 commit comments

Comments
 (0)