Commit graph

31 commits

Author SHA1 Message Date
Kijin Sung
e3f08ef322 Fix broken unit test 2025-06-02 22:44:57 +09:00
Kijin Sung
baadb36e37 Improve escape_css() to accept most common CSS expressions 2025-03-18 23:53:06 +09:00
Kijin Sung
82195c3e14 #2527 보완: 유닛 테스트 추가 2025-03-18 22:38:07 +09:00
Kijin Sung
00db2ab402 Fix broken emoji and other HTML entities when using cut_str()
https://xetown.com/questions/1855257
2025-02-13 22:39:13 +09:00
Kijin Sung
177e54f86c Remove redundant Context::init() in unit tests 2023-11-06 09:18:21 +09:00
Kijin Sung
1f688c167c Change deprecated Codeception class name 2023-10-24 20:16:44 +09:00
Kijin Sung
c3fdee7350 Fix unit test for getUrl() #2123 2023-06-20 22:06:17 +09:00
Kijin Sung
f0237921b9 Fix unit test for getUrl() #2123 2023-06-20 21:28:09 +09:00
Kijin Sung
9aa24c558f Add unit tests for array-based getURL() #2123 2023-06-20 21:13:14 +09:00
Kijin Sung
31f2d54f1a Update legacy test to reflect WAP removal and DB->isConnected() deprecation 2023-06-19 15:34:40 +09:00
Kijin Sung
3b77781d15 Remove trailing whitespace in all unit tests 2023-01-30 21:48:12 +09:00
Kijin Sung
928a24fac0 Add polyfills for str_contains(), str_starts_with(), str_ends_with() for PHP < 8.0 2022-12-02 15:45:58 +09:00
Kijin Sung
8abe1b1d7d Add option to escape() to keep user lang codes intact #1976 2022-08-15 18:06:26 +09:00
Kijin Sung
f46b41f437 Update unit tests for latest codeception 2021-01-28 21:53:44 +09:00
Kijin Sung
a740f39538 Add unit tests for utf8_clean() 2020-07-31 14:58:21 +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
7b9fe8f7f2 Revert "Fix var_export() not working for stdClass in PHP < 7.3"
This reverts commit 3f7f802585.
2018-12-13 18:59:27 +09:00
Kijin Sung
3f7f802585 Fix var_export() not working for stdClass in PHP < 7.3 2018-12-13 15:22:11 +09:00
Kijin Sung
6f35f5bafc Fix strict count() behavior in PHP 7.2 2017-12-01 01:42:03 +09:00
Kijin Sung
8c752b9baf Add more unit tests for is_html_content() 2017-06-29 19:54:33 +09:00
Kijin Sung
2a023f0854 Also use the <span> tag to determine whether an editor was used 2017-06-29 18:53:46 +09:00
Kijin Sung
3c772bf1cf Separate <p> tests from <br> tests 2017-06-29 18:44:52 +09:00
Kijin Sung
804533222c Add is_html_content() function to detect whether a string is HTML 2017-06-29 18:25:36 +09:00
Kijin Sung
8147044802 Fix toBool() and add more test cases 2017-04-08 22:02:03 +09:00
Kijin Sung
387dd1f78b Fix #741 do not allow empty HTML content in document and comment 2017-03-06 10:50:06 +09:00
Kijin Sung
91ff3c6323 Add array_escape() function to escape all keys and values of an array or object 2017-01-26 14:41:03 +09:00
Kijin Sung
456ec87447 Fix DB connection during unit tests on HHVM 2016-03-20 13:43:00 +09:00
Kijin Sung
d325ef99bc Add unit tests for some legacy tests, too 2016-03-16 11:36:36 +09:00
Kijin Sung
f9ea115c19 Fix some minor bugs in global functions and add unit tests 2016-03-16 10:09:48 +09:00
Kijin Sung
e405fc69ac Update unit tests 2016-03-11 15:36:36 +09:00
Kijin Sung
670baecb73 Reorganize unit tests 2016-02-16 16:17:46 +09:00