mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 06:13:58 -07:00
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.
This commit is contained in:
parent
244313a76a
commit
62037ea776
1 changed files with 0 additions and 11 deletions
|
@ -103,17 +103,6 @@ afterEach(function () {
|
||||||
|
|
||||||
describe('Template Text Compilation - Graceful Fallback', 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 () {
|
it('shows missing language variables as original syntax', function () {
|
||||||
$template = '{L_MISSING_KEY}';
|
$template = '{L_MISSING_KEY}';
|
||||||
$compiled = $this->template->_compile_text($template);
|
$compiled = $this->template->_compile_text($template);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue