Commit graph

21 commits

Author SHA1 Message Date
Kijin Sung
60465fb2db Fix various warnings in PHP 8.0 2021-01-28 22:32:56 +09:00
Kijin Sung
af6d60e258 Add unit tests 2021-01-07 22:56:50 +09:00
Kijin Sung
436728f7b7 Fix unit test for TemplateHandler 2020-12-15 00:24:26 +09:00
Kijin Sung
49923844b2 Various fixes to remove warnings in PHP 8.0 2020-12-15 00:18:42 +09:00
Kijin Sung
4c62231e88 Fix template syntax for Context::unloadFile() and related unit tests 2020-12-13 21:33:27 +09:00
Kijin Sung
72577ce6bb Fix #1174 Add number_shorten() function and 'shorten' template filter 2019-07-27 21:33:30 +09:00
Kijin Sung
720e7c6527 Update unit test for TemplateHandler 2018-10-10 15:13:01 +09:00
Kijin Sung
d63da57045 Fix unit tests for autoescape 2018-10-10 14:50:34 +09:00
conory
c728250fd7 템플릿 foreach 처리시 디버그 편의를 위해 원래의 엄격한 방식으로 되돌림 2018-03-31 16:59:30 +09:00
conory
3d24c14f7f object 변수일 경우 템플릿 foreach 문이 작동하지 않는 문제 수정
#1023 문제 수정

레이아웃 확장변수 (extra_var)가 object 라서 발생한 warning 수정 (왜 object로 했는 지 모르겠지만, array가 더 맞는 듯함)
Warning: count(): Parameter must be an array or an object that implements Countable in php 7.2
2018-03-30 23:28:44 +09:00
conory
605fcc87df Fix unit test for template 2018-03-22 17:49:00 +09:00
Kijin Sung
2b40d1ef74 Fix unit test for $lang in templates 2018-03-03 12:07:13 +09:00
Kijin Sung
3feaf36c23 Adjust unit tests to accommodate new template parser behavior 2017-12-09 02:55:01 +09:00
Kijin Sung
77282401e3 Add even more unit tests for malformed filter detection 2017-02-23 22:25:25 +09:00
Kijin Sung
c4c5fa9e0d Add more unit tests for edge cases 2017-02-23 22:15:03 +09:00
Kijin Sung
5638207fb0 Change behavior of 'autoescape' filter to always escape (but not double-escape) 2017-02-22 21:29:15 +09:00
Kijin Sung
7fd0f5df7b Add unit tests for template filters 2017-02-22 21:24:26 +09:00
Kijin Sung
a0bcb92847 Add unit tests for TemplateHandler changes 2016-10-01 22:19:47 +09:00
Kijin Sung
b62bbef515 Update TemplateHandlerTest to accommodate new syntax 2016-05-03 21:48:52 +09:00
Kijin Sung
ca7a7b64ea Use a more realistic server environment in unit tests 2016-03-16 09:13:31 +09:00
Kijin Sung
670baecb73 Reorganize unit tests 2016-02-16 16:17:46 +09:00
Renamed from tests/Unit/classes/template/TemplateHandlerTest.php (Browse further)