From 62037ea77600ad19ee1c181845249687e2d97d2c Mon Sep 17 00:00:00 2001 From: Yury Pikhtarev Date: Sat, 21 Jun 2025 02:54:02 +0400 Subject: [PATCH] refactor(tests): remove debugging test for compiled template output - Removed the test case that debugged compiled output for troubleshooting in the TemplateGracefulFallbackTest. - This change streamlines the test suite by focusing on essential functionality, specifically the handling of missing language variables. --- tests/Unit/Legacy/TemplateGracefulFallbackTest.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/tests/Unit/Legacy/TemplateGracefulFallbackTest.php b/tests/Unit/Legacy/TemplateGracefulFallbackTest.php index 626188b82..19be9c839 100644 --- a/tests/Unit/Legacy/TemplateGracefulFallbackTest.php +++ b/tests/Unit/Legacy/TemplateGracefulFallbackTest.php @@ -103,17 +103,6 @@ afterEach(function () { describe('Template Text Compilation - Graceful Fallback', function () { - it('debugs compiled output for troubleshooting', function () { - $template = '{L_MISSING_KEY}'; - $compiled = $this->template->_compile_text($template); - - // Show the actual compiled output for debugging - expect($compiled)->toBeString(); - - // Print the compiled code to understand the issue - error_log("Compiled template: " . $compiled); - }); - it('shows missing language variables as original syntax', function () { $template = '{L_MISSING_KEY}'; $compiled = $this->template->_compile_text($template);