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
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1045,7 +1045,7 @@ public function data_provider_to_test_wp_finalize_template_enhancement_output_bu
1045
1045
'PHP Warning: Uncaught exception "Exception" thrown: User error triggered: ERROR: Can this mistake be rectified? in __FILE__ on line __LINE__',
1046
1046
),
1047
1047
'expected_displayed_errors' => array(
1048
-
'<b>Warning</b>: Uncaught exception "Exception" thrown: User error triggered: ERROR: Can this mistake be rectified? in <b>__FILE__</b> on line <b>__LINE__</b>',
1048
+
'<b>Error</b>: Uncaught exception "Exception" thrown: User error triggered: ERROR: Can this mistake be rectified? in <b>__FILE__</b> on line <b>__LINE__</b>',
1049
1049
),
1050
1050
),
1051
1051
'exception' => array(
@@ -1058,7 +1058,7 @@ public function data_provider_to_test_wp_finalize_template_enhancement_output_bu
1058
1058
'PHP Warning: Uncaught exception "Exception" thrown: I take exception to this! in __FILE__ on line __LINE__',
1059
1059
),
1060
1060
'expected_displayed_errors' => array(
1061
-
'<b>Warning</b>: Uncaught exception "Exception" thrown: I take exception to this! in <b>__FILE__</b> on line <b>__LINE__</b>',
1061
+
'<b>Error</b>: Uncaught exception "Exception" thrown: I take exception to this! in <b>__FILE__</b> on line <b>__LINE__</b>',
0 commit comments