[Web][Tests] Add mailbox group, identity sync, auth, Dovecot and SOGo module tests

This commit is contained in:
FreddleSpl0it committed 2026-10-27 10:15:00 +01:00
1 parent 2c5718c9c9
commit ad86403b87
19 files changed
+1997

No files matched your search

+10
View File
@@ -6,3 +6,13 @@ declare(strict_types=1);
// of data/web/inc/lib/composer.json, exactly as php-fpm does.
require __DIR__ . '/../../data/web/inc/lib/vendor/autoload.php';
require __DIR__ . '/vendor/autoload.php';
// The php:8.2-cli test image has no intl (php-fpm has); ASCII domains are all the unit tests need
if (!function_exists('idn_to_ascii')) {
define('INTL_IDNA_VARIANT_UTS46', 1);
function idn_to_ascii(string $domain, int $flags = 0, int $variant = INTL_IDNA_VARIANT_UTS46): string|false
{
return preg_match('/^[\x21-\x7e]*$/', $domain) ? $domain : false;
}
}