Files
opensourcepos/tests/phpunit.xml
Ollama d684c49ebd Fix Token_lib::render() for PHP 8.4 compatibility
- Replaced deprecated strftime() with IntlDateFormatter
- Added proper handling for edge cases:
  - Strings with '%' not in date format (e.g., 'Discount: 50%')
  - Invalid date formats (e.g., '%-%-%', '%Y-%q-%bad')
  - Very long strings
- Added comprehensive unit tests for Token_lib
- All date format specifiers now mapped to IntlDateFormatter patterns
2026-03-14 23:08:39 +00:00

19 lines
472 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap = "../vendor/autoload.php"
backupGlobals = "false"
colors = "true"
processIsolation = "false"
stopOnFailure = "false">
<testsuites>
<testsuite name="Helpers">
<directory>helpers</directory>
</testsuite>
<testsuite name="Libraries">
<directory>Libraries</directory>
</testsuite>
</testsuites>
</phpunit>