You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/phpunit/tests/template.php
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1011,6 +1011,7 @@ public function data_provider_to_test_wp_finalize_template_enhancement_output_bu
1011
1011
),
1012
1012
'expected_displayed_errors' => array(
1013
1013
'<b>Deprecated</b>: You are history during filter. in <b>__FILE__</b> on line <b>__LINE__</b>',
1014
+
'<b>Deprecated</b>: You are history during action. in <b>__FILE__</b> on line <b>__LINE__</b>',
1014
1015
),
1015
1016
),
1016
1017
'notice' => array(
@@ -1028,6 +1029,7 @@ public function data_provider_to_test_wp_finalize_template_enhancement_output_bu
1028
1029
),
1029
1030
'expected_displayed_errors' => array(
1030
1031
'<b>Notice</b>: POSTED: No trespassing during filter. in <b>__FILE__</b> on line <b>__LINE__</b>',
1032
+
'<b>Notice</b>: POSTED: No trespassing during action. in <b>__FILE__</b> on line <b>__LINE__</b>',
1031
1033
),
1032
1034
),
1033
1035
'warning' => array(
@@ -1045,6 +1047,7 @@ public function data_provider_to_test_wp_finalize_template_enhancement_output_bu
1045
1047
),
1046
1048
'expected_displayed_errors' => array(
1047
1049
'<b>Warning</b>: AVISO: Piso mojado durante filtro. in <b>__FILE__</b> on line <b>__LINE__</b>',
1050
+
'<b>Warning</b>: AVISO: Piso mojado durante acción. in <b>__FILE__</b> on line <b>__LINE__</b>',
1048
1051
),
1049
1052
),
1050
1053
'error' => array(
@@ -1062,6 +1065,7 @@ public function data_provider_to_test_wp_finalize_template_enhancement_output_bu
1062
1065
),
1063
1066
'expected_displayed_errors' => array(
1064
1067
'<b>Error</b>: Uncaught exception "Exception" thrown: User error triggered: ERROR: Can this mistake be rectified during filter? in <b>__FILE__</b> on line <b>__LINE__</b>',
1068
+
'<b>Error</b>: Uncaught exception "Exception" thrown: User error triggered: ERROR: Can this mistake be rectified during action? in <b>__FILE__</b> on line <b>__LINE__</b>',
1065
1069
),
1066
1070
),
1067
1071
'exception' => array(
@@ -1079,6 +1083,7 @@ public function data_provider_to_test_wp_finalize_template_enhancement_output_bu
1079
1083
),
1080
1084
'expected_displayed_errors' => array(
1081
1085
'<b>Error</b>: Uncaught exception "Exception" thrown: I take exception to this filter! in <b>__FILE__</b> on line <b>__LINE__</b>',
1086
+
'<b>Error</b>: Uncaught exception "Exception" thrown: I take exception to this action! in <b>__FILE__</b> on line <b>__LINE__</b>',
1082
1087
),
1083
1088
),
1084
1089
'multiple_non_errors' => array(
@@ -1106,6 +1111,9 @@ public function data_provider_to_test_wp_finalize_template_enhancement_output_bu
1106
1111
'<b>Deprecated</b>: You are history during filter. in <b>__FILE__</b> on line <b>__LINE__</b>',
1107
1112
'<b>Notice</b>: POSTED: No trespassing during filter. in <b>__FILE__</b> on line <b>__LINE__</b>',
1108
1113
'<b>Warning</b>: AVISO: Piso mojado durante filtro. in <b>__FILE__</b> on line <b>__LINE__</b>',
1114
+
'<b>Deprecated</b>: You are history during action. in <b>__FILE__</b> on line <b>__LINE__</b>',
1115
+
'<b>Notice</b>: POSTED: No trespassing during action. in <b>__FILE__</b> on line <b>__LINE__</b>',
1116
+
'<b>Warning</b>: AVISO: Piso mojado durante acción. in <b>__FILE__</b> on line <b>__LINE__</b>',
1109
1117
),
1110
1118
),
1111
1119
'deprecated_without_html' => array(
@@ -1142,6 +1150,7 @@ public function data_provider_to_test_wp_finalize_template_enhancement_output_bu
1142
1150
),
1143
1151
'expected_displayed_errors' => array(
1144
1152
'<b>Warning</b>: AVISO: Piso mojado durante filtro. in <b>__FILE__ : eval()\'d code</b> on line <b>__LINE__</b>',
1153
+
'<b>Warning</b>: AVISO: Piso mojado durante acción. in <b>__FILE__ : eval()\'d code</b> on line <b>__LINE__</b>',
0 commit comments